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:
authorClément Foucault <foucault.clem@gmail.com>2020-07-25 19:10:43 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-26 18:28:48 +0300
commita77175c9b6c06dadc1df3c654e0e000140a53a39 (patch)
tree121a661d9378d8ea8c43723898036173650aea5e /source/blender/gpu/intern/gpu_private.h
parent076d033e10eee29bfc8315344bd2ba1f0951ad06 (diff)
GPU: Add extern "C" to intern headers
Diffstat (limited to 'source/blender/gpu/intern/gpu_private.h')
-rw-r--r--source/blender/gpu/intern/gpu_private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h
index 7846bff87f4..ed729dd399c 100644
--- a/source/blender/gpu/intern/gpu_private.h
+++ b/source/blender/gpu/intern/gpu_private.h
@@ -21,6 +21,10 @@
#ifndef __GPU_PRIVATE_H__
#define __GPU_PRIVATE_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* call this before running any of the functions below */
void gpu_platform_init(void);
void gpu_platform_exit(void);
@@ -41,4 +45,8 @@ void gpu_framebuffer_module_exit(void);
void gpu_pbvh_init(void);
void gpu_pbvh_exit(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __GPU_PRIVATE_H__ */