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:
authorJacques Lucke <jacques@blender.org>2020-07-28 17:32:30 +0300
committerJacques Lucke <jacques@blender.org>2020-07-28 17:33:43 +0300
commitb274d18aec525621bcb0a2234fc65e09398616c2 (patch)
treeec4310013623197f5bac2eb51c200503d898bd06 /source/blender/render/intern/include/zbuf.h
parent9c1da81a4c173437c1e556afde7b32eef4b0a47d (diff)
Cleanup: correct usage of extern-C blocks in various places
This removes extern-C blocks around other includes and adds such blocks for some headers that need them.
Diffstat (limited to 'source/blender/render/intern/include/zbuf.h')
-rw-r--r--source/blender/render/intern/include/zbuf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h
index bc6addd6c5f..d03f997c8f2 100644
--- a/source/blender/render/intern/include/zbuf.h
+++ b/source/blender/render/intern/include/zbuf.h
@@ -21,6 +21,10 @@
#ifndef __ZBUF_H__
#define __ZBUF_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* span fill in method, is also used to localize data for zbuffering */
typedef struct ZSpan {
int rectx, recty; /* range for clipping */
@@ -40,4 +44,8 @@ void zspan_scanconvert(struct ZSpan *zpan,
float *v3,
void (*func)(void *, int, int, float, float));
+#ifdef __cplusplus
+}
+#endif
+
#endif