xref: /third_party/rust/crates/bindgen/bindgen-tests/tests/headers/layout.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
112a9d9c8Sopenharmony_ci// bindgen-flags: --rust-target 1.21
212a9d9c8Sopenharmony_ci//
312a9d9c8Sopenharmony_ci// FIXME: https://github.com/rust-lang/rust-bindgen/issues/1498
412a9d9c8Sopenharmony_ci
512a9d9c8Sopenharmony_cistruct header
612a9d9c8Sopenharmony_ci{
712a9d9c8Sopenharmony_ci    char proto;
812a9d9c8Sopenharmony_ci    unsigned int size __attribute__ ((packed));
912a9d9c8Sopenharmony_ci    unsigned char data[] __attribute__ ((aligned(8)));
1012a9d9c8Sopenharmony_ci} __attribute__ ((aligned, packed));
11

Indexes created Thu Nov 07 10:32:03 CST 2024