Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/BKE_lib_query.h')
-rw-r--r--source/blender/blenkernel/BKE_lib_query.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_lib_query.h b/source/blender/blenkernel/BKE_lib_query.h
index 35c42e62810..b12803b1603 100644
--- a/source/blender/blenkernel/BKE_lib_query.h
+++ b/source/blender/blenkernel/BKE_lib_query.h
@@ -35,6 +35,10 @@
* - `BKE_lib_query_` should be used for functions in that file.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct ID;
struct Main;
@@ -131,4 +135,8 @@ void BKE_library_ID_test_usages(struct Main *bmain,
void BKE_library_unused_linked_data_set_tag(struct Main *bmain, const bool do_init_tag);
void BKE_library_indirectly_used_data_tag_clear(struct Main *bmain);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BKE_LIB_QUERY_H__ */