Skip to content

Commit

Permalink
Add missing cpp_compat documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon authored and emilio committed Mar 23, 2020
1 parent c265a75 commit 6fd2450
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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



Expand Down

0 comments on commit 6fd2450

Please sign in to comment.