[Mesa-dev] [PATCH 06/11] st/mesa: add extern "C" to st_program.h
Brian Paul
brianp at vmware.com
Mon Dec 15 16:20:58 PST 2014
---
src/mesa/state_tracker/st_program.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index cf1b40a..870d0d5 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -41,6 +41,11 @@
#include "st_glsl_to_tgsi.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/** Fragment program variant key */
struct st_fp_variant_key
{
@@ -347,4 +352,8 @@ extern void
st_print_current_vertex_program(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif
--
1.9.1
More information about the mesa-dev
mailing list