summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-12-15 16:49:54 -0700
committerBrian Paul <[email protected]>2014-12-16 07:52:41 -0700
commit44c8957cfe7a77f53dbf21dcad8f43e20b4475ab (patch)
tree388f5a1c50fa69eb33f41fa53d97bf97cc721ed5 /src/mesa/state_tracker
parentd260348130853dd2aa7d87e03cdcd25e8ad39676 (diff)
st/mesa: add extern "C" to st_context.h
Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 15f9df492db..20d56786444 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -33,6 +33,12 @@
#include "state_tracker/st_api.h"
#include "main/fbobject.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct bitmap_cache;
struct dd_function_table;
struct draw_context;
@@ -278,4 +284,8 @@ extern void
st_destroy_context(struct st_context *st);
+#ifdef __cplusplus
+}
+#endif
+
#endif