We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following Rust definition of a struct
#[repr(C)] pub struct tagged_union_t { pub tag: UNION_TYPE, pub value: tagged_union_value_t, } #[repr(C)] pub union tagged_union_value_t{ pub value_1: i32 pub value_2: i64 }
I'd like an annotation like ///cbindgen:inline-type so the output C header looks like this
///cbindgen:inline-type
typedef struct tagged_union_t { UNION_TYPE tag; union { int32_t value_1; int64_t value_2; } value; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have the following Rust definition of a struct
I'd like an annotation like
///cbindgen:inline-type
so the output C header looks like thisThe text was updated successfully, but these errors were encountered: