projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67016d
)
Make shader_api.h be C++ friendly
author
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 7 Jul 2010 18:03:21 +0000
(11:03 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Mon, 12 Jul 2010 22:19:30 +0000
(15:19 -0700)
src/mesa/shader/shader_api.h
patch
|
blob
|
history
diff --git
a/src/mesa/shader/shader_api.h
b/src/mesa/shader/shader_api.h
index
557e910
..
22f582a
100644
(file)
--- a/
src/mesa/shader/shader_api.h
+++ b/
src/mesa/shader/shader_api.h
@@
-32,6
+32,9
@@
#include "main/mtypes.h"
#include "ir_to_mesa.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* Internal functions
*/
@@
-109,5
+112,8
@@
_mesa_validate_shader_program(GLcontext *ctx,
extern void
_mesa_init_glsl_driver_functions(struct dd_function_table *driver);
+#ifdef __cplusplus
+};
+#endif
#endif /* SHADER_API_H */