aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/prog_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/prog_cache.h')
-rw-r--r--mesalib/src/mesa/program/prog_cache.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/mesalib/src/mesa/program/prog_cache.h b/mesalib/src/mesa/program/prog_cache.h
index fdd7e264b..e37f1d7be 100644
--- a/mesalib/src/mesa/program/prog_cache.h
+++ b/mesalib/src/mesa/program/prog_cache.h
@@ -32,6 +32,12 @@
#include "main/glheader.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct gl_context;
/** Opaque type */
@@ -65,4 +71,9 @@ _mesa_shader_cache_insert(struct gl_context *ctx,
struct gl_shader_program *program);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* PROG_CACHE_H */