summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/samplerobj.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/samplerobj.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/samplerobj.h')
-rw-r--r--src/mesa/main/samplerobj.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h
index 7d80b383d74..1bb3193e432 100644
--- a/src/mesa/main/samplerobj.h
+++ b/src/mesa/main/samplerobj.h
@@ -27,6 +27,11 @@
#ifndef SAMPLEROBJ_H
#define SAMPLEROBJ_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct dd_function_table;
static inline struct gl_sampler_object *
@@ -103,4 +108,8 @@ _mesa_GetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params);
void GLAPIENTRY
_mesa_GetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SAMPLEROBJ_H */