You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Document enum */enum B {
/// Document field with three slashes
VAR_A = 0,
/** Document field with preceeding star */
VAR_B = 1,
/*! Document field with preceeding exclamation */
VAR_C = 2,
VAR_D = 3, /**< Document field with following star */
VAR_E = 4, /*!< Document field with following exclamation */
};
Bindgen Invocation
let bindings = bindgen::Builder::default().header("input.h").layout_tests(false).generate().unwrap();
Also same with any of .constified_enum(".*")/.rustified_enum(".*")/.bitfield_enum(".*")/.prepend_enum_name("false").
Used software versions
bindgen: v0.32.3
llvm/clang: 5.0.1
Input C/C++ Header
Bindgen Invocation
Also same with any of
.constified_enum(".*")
/.rustified_enum(".*")
/.bitfield_enum(".*")
/.prepend_enum_name("false")
.Actual Results
Expected Results
Generated enum constants and, when possible, enum type itself, should have the documentation comments, just like it is now done for struct.
The text was updated successfully, but these errors were encountered: