@@ -416,10 +416,10 @@ struct BindgenCommand {
416416 /// Sets the path of the file where generated code for wrapper functions will be emitted.
417417 #[ arg( long, requires = "experimental" , value_name = "PATH" ) ]
418418 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 .
421421 #[ arg( long, requires = "experimental" , value_name = "SUFFIX" ) ]
422- wrap_static_fns_suffix : Option < String > ,
422+ wrapper_function_suffix : Option < String > ,
423423 /// Create a wrapper function for the macro. The MACRO value must be of the shape
424424 /// `[<return type>] <macro name>[(<comma separated list of arguments>)]`.
425425 #[ arg( long, requires = "experimental" , value_name = "MACRO" ) ]
@@ -560,7 +560,7 @@ where
560560 with_derive_custom_union,
561561 wrap_static_fns,
562562 wrapper_code_generation_path,
563- wrap_static_fns_suffix ,
563+ wrapper_function_suffix ,
564564 macro_function,
565565 default_visibility,
566566 emit_diagnostics,
@@ -1099,8 +1099,8 @@ where
10991099 builder = builder. wrapper_code_generation_path ( path) ;
11001100 }
11011101
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) ;
11041104 }
11051105
11061106 if let Some ( macro_functions) = macro_function {
0 commit comments