File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ struct BindgenCommand {
422
422
wrap_static_fns_suffix : Option < String > ,
423
423
/// Create a wrapper function for the macro. The MACRO value must be of the shape
424
424
/// `[<return type>] <macro name>[(<comma separated list of arguments>)]`.
425
- #[ arg( long, value_name = "MACRO" ) ]
425
+ #[ arg( long, requires = "experimental" , value_name = "MACRO" ) ]
426
426
macro_function : Option < Vec < String > > ,
427
427
/// Set the default VISIBILITY of fields, including bitfields and accessor methods for
428
428
/// bitfields. This flag is ignored if the `--respect-cxx-access-specs` flag is used.
Original file line number Diff line number Diff line change 1
- // bindgen-flags: --macro-function "SIMPLE" --macro-function "INDIRECT_SIMPLE" --macro-function "f32 COMPLEX(u32)" --macro-function "f32 INDIRECT_COMPLEX(u32)" --macro-function "f32 CONDITIONAL_COMPLEX(bool, u32)"
1
+ // bindgen-flags: --experimental -- macro-function "SIMPLE" --macro-function "INDIRECT_SIMPLE" --macro-function "f32 COMPLEX(u32)" --macro-function "f32 INDIRECT_COMPLEX(u32)" --macro-function "f32 CONDITIONAL_COMPLEX(bool, u32)"
2
2
3
3
void simple (void );
4
4
You can’t perform that action at this time.
0 commit comments