diff options
Diffstat (limited to 'source/creator/creator_intern.h')
-rw-r--r-- | source/creator/creator_intern.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/creator/creator_intern.h b/source/creator/creator_intern.h index c9519f78af9..29ef6d96f15 100644 --- a/source/creator/creator_intern.h +++ b/source/creator/creator_intern.h @@ -11,6 +11,10 @@ struct bArgs; struct bContext; +#ifdef __cplusplus +extern "C" { +#endif + #ifndef WITH_PYTHON_MODULE /* creator_args.c */ @@ -68,14 +72,14 @@ enum { # define BUILD_DATE #endif -/* from buildinfo.c */ +/* From `buildinfo.c`. */ #ifdef BUILD_DATE extern char build_date[]; extern char build_time[]; extern char build_hash[]; extern unsigned long build_commit_timestamp; -/* TODO(sergey): ideally size need to be in sync with buildinfo.c */ +/* TODO(@sergey): ideally size need to be in sync with `buildinfo.c`. */ extern char build_commit_date[16]; extern char build_commit_time[16]; @@ -87,3 +91,7 @@ extern char build_cxxflags[]; extern char build_linkflags[]; extern char build_system[]; #endif /* BUILD_DATE */ + +#ifdef __cplusplus +} +#endif |