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