@@ -416,10 +416,10 @@ struct BindgenCommand {
416
416
/// Sets the path of the file where generated code for wrapper functions will be emitted.
417
417
#[ arg( long, requires = "experimental" , value_name = "PATH" ) ]
418
418
wrapper_code_generation_path : Option < PathBuf > ,
419
- /// Sets the SUFFIX added to the extern wrapper functions generated for `static` and `static
420
- /// inline` functions.
419
+ /// Sets the SUFFIX added to the wrapper functions generated for `static` and `static inline`
420
+ /// functions and functional macros .
421
421
#[ arg( long, requires = "experimental" , value_name = "SUFFIX" ) ]
422
- wrap_static_fns_suffix : Option < String > ,
422
+ wrapper_function_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
425
#[ arg( long, requires = "experimental" , value_name = "MACRO" ) ]
@@ -560,7 +560,7 @@ where
560
560
with_derive_custom_union,
561
561
wrap_static_fns,
562
562
wrapper_code_generation_path,
563
- wrap_static_fns_suffix ,
563
+ wrapper_function_suffix ,
564
564
macro_function,
565
565
default_visibility,
566
566
emit_diagnostics,
@@ -1099,8 +1099,8 @@ where
1099
1099
builder = builder. wrapper_code_generation_path ( path) ;
1100
1100
}
1101
1101
1102
- if let Some ( suffix) = wrap_static_fns_suffix {
1103
- builder = builder. wrap_static_fns_suffix ( suffix) ;
1102
+ if let Some ( suffix) = wrapper_function_suffix {
1103
+ builder = builder. wrapper_function_suffix ( suffix) ;
1104
1104
}
1105
1105
1106
1106
if let Some ( macro_functions) = macro_function {
0 commit comments