@@ -419,10 +419,10 @@ struct BindgenCommand {
419
419
/// Sets the path of the file where generated code for wrapper functions will be emitted.
420
420
#[ arg( long, requires = "experimental" , value_name = "PATH" ) ]
421
421
wrapper_code_generation_path : Option < PathBuf > ,
422
- /// Sets the SUFFIX added to the extern wrapper functions generated for `static` and `static
423
- /// inline` functions.
422
+ /// Sets the SUFFIX added to the wrapper functions generated for `static` and `static inline`
423
+ /// functions and functional macros .
424
424
#[ arg( long, requires = "experimental" , value_name = "SUFFIX" ) ]
425
- wrap_static_fns_suffix : Option < String > ,
425
+ wrapper_function_suffix : Option < String > ,
426
426
/// Create a wrapper function for the macro. The MACRO value must be of the shape
427
427
/// `[<return type>] <macro name>[(<comma separated list of arguments>)]`.
428
428
#[ arg( long, requires = "experimental" , value_name = "MACRO" ) ]
@@ -564,7 +564,7 @@ where
564
564
with_derive_custom_union,
565
565
wrap_static_fns,
566
566
wrapper_code_generation_path,
567
- wrap_static_fns_suffix ,
567
+ wrapper_function_suffix ,
568
568
macro_function,
569
569
default_visibility,
570
570
emit_diagnostics,
@@ -1111,8 +1111,8 @@ where
1111
1111
builder = builder. wrapper_code_generation_path ( path) ;
1112
1112
}
1113
1113
1114
- if let Some ( suffix) = wrap_static_fns_suffix {
1115
- builder = builder. wrap_static_fns_suffix ( suffix) ;
1114
+ if let Some ( suffix) = wrapper_function_suffix {
1115
+ builder = builder. wrapper_function_suffix ( suffix) ;
1116
1116
}
1117
1117
1118
1118
if let Some ( macro_functions) = macro_function {
0 commit comments