summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_print.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-12-15 16:37:35 -0700
committerBrian Paul <[email protected]>2014-12-16 07:52:41 -0700
commit641314eff3b113c19b1a9f90e21dba82167d85e4 (patch)
tree194c7f45ed13e25e28eb1a59bf4dfe7779086f37 /src/mesa/program/prog_print.h
parent3ebc135b4ed261cb7959dd7429773b25ce545102 (diff)
mesa: put extern "C" in src/mesa/program/*h header files
Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_print.h')
-rw-r--r--src/mesa/program/prog_print.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/program/prog_print.h b/src/mesa/program/prog_print.h
index cd61568e9c7..9058dfa7688 100644
--- a/src/mesa/program/prog_print.h
+++ b/src/mesa/program/prog_print.h
@@ -31,6 +31,12 @@
#include "main/glheader.h"
#include "main/mtypes.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct gl_program;
struct gl_program_parameter_list;
struct gl_shader;
@@ -115,4 +121,9 @@ extern void
_mesa_append_uniforms_to_file(const struct gl_shader *shader);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* PROG_PRINT_H */