projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d260348
)
st/mesa: add extern "C" to st_context.h
author
Brian Paul
<brianp@vmware.com>
Mon, 15 Dec 2014 23:49:54 +0000
(16:49 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_context.h
b/src/mesa/state_tracker/st_context.h
index 15f9df492db71b5732a8d6ac02dbbd1bbddac204..20d5678644489acff9fff96c93c8eab8a01b2af2 100644
(file)
--- 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