st/mesa: add extern "C" to st_context.h
authorBrian Paul <brianp@vmware.com>
Mon, 15 Dec 2014 23:49:54 +0000 (16:49 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Dec 2014 14:52:41 +0000 (07:52 -0700)
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_context.h

index 15f9df492db71b5732a8d6ac02dbbd1bbddac204..20d5678644489acff9fff96c93c8eab8a01b2af2 100644 (file)
 #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