summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_state.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-02-25 20:05:41 +0900
committerJosé Fonseca <[email protected]>2008-02-25 20:05:41 +0900
commite4e30089231831339815cccebf3a3a0ea6dcd2a9 (patch)
tree66a4b0da649d0814312b6464a129ec895ae012f1 /src/gallium/include/pipe/p_state.h
parentc8b069cc1e839b5dd7a11d33c291b6b587a45df3 (diff)
Make the pipe headers C++ friendly.
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r--src/gallium/include/pipe/p_state.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 47fa78c31db..15c88881eb2 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -42,6 +42,12 @@
#include "p_defines.h"
#include "p_format.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/**
* Implementation limits
*/
@@ -326,4 +332,8 @@ struct pipe_vertex_element
};
+#ifdef __cplusplus
+}
+#endif
+
#endif