aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderimage.h
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2014-11-12 03:47:13 +0200
committerFrancisco Jerez <[email protected]>2015-05-04 17:44:15 +0300
commit8424cafbac5c9747f0ee9ae55d8633e8172ee47f (patch)
treeff6ceffab1e2f04a729ec1d6029f9df128820453 /src/mesa/main/shaderimage.h
parentdded5271e4e811fa6df5005df0961295f58d3a1d (diff)
mesa: Add extern "C" guards to shaderimage.h to allow inclusion from C++ code.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderimage.h')
-rw-r--r--src/mesa/main/shaderimage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/shaderimage.h b/src/mesa/main/shaderimage.h
index 4aa859ca5cc..1c7d1e0e894 100644
--- a/src/mesa/main/shaderimage.h
+++ b/src/mesa/main/shaderimage.h
@@ -30,6 +30,10 @@
#include "glheader.h"
#include "formats.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_context;
/**
@@ -58,4 +62,8 @@ _mesa_BindImageTextures(GLuint first, GLsizei count, const GLuint *textures);
void GLAPIENTRY
_mesa_MemoryBarrier(GLbitfield barriers);
+#ifdef __cplusplus
+}
+#endif
+
#endif