projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dded527
)
mesa: Add extern "C" guards to shaderimage.h to allow inclusion from C++ code.
author
Francisco Jerez
<currojerez@riseup.net>
Wed, 12 Nov 2014 01:47:13 +0000
(
03:47
+0200)
committer
Francisco Jerez
<currojerez@riseup.net>
Mon, 4 May 2015 14:44:15 +0000
(17:44 +0300)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/shaderimage.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderimage.h
b/src/mesa/main/shaderimage.h
index 4aa859ca5cccaa73aa55c9c8a44b24415bb1310e..1c7d1e0e89409083fbf308ba888f465b6cb2799b 100644
(file)
--- 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