summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-12-15 16:36:27 -0700
committerBrian Paul <[email protected]>2014-12-16 07:52:41 -0700
commit3ebc135b4ed261cb7959dd7429773b25ce545102 (patch)
treec5ea5bf801671ea249abfa0dcf6266d1b2f713bb /src/mesa/main/texobj.h
parent4b342fbbb739b4266ec6bdaa59d1807b75199061 (diff)
mesa: put extern "C" in header files
Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r--src/mesa/main/texobj.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h
index b1b7a302755..efcd7661e26 100644
--- a/src/mesa/main/texobj.h
+++ b/src/mesa/main/texobj.h
@@ -38,6 +38,11 @@
#include "samplerobj.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/**
* \name Internal functions
*/
@@ -212,4 +217,9 @@ _mesa_InvalidateTexImage(GLuint texture, GLint level);
/*@}*/
+#ifdef __cplusplus
+}
+#endif
+
+
#endif