diff --git a/docs.md b/docs.md index 985b8a817..32c5feafd 100644 --- a/docs.md +++ b/docs.md @@ -376,6 +376,21 @@ includes = ["my_great_lib.h"] # default: false no_includes = false +# Whether to make a C header C++ compatible. +# These will wrap generated functions into a `extern "C"` block, e.g. +# +# #ifdef __cplusplus +# extern "C" { +# #endif // __cplusplus +# +# // Generated functions. +# +# #ifdef __cplusplus +# } // extern "C" +# #endif // __cplusplus +# +# default: false +cpp_compat = false