summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_context.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-25 20:05:41 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-25 20:05:41 +0900
commite4e30089231831339815cccebf3a3a0ea6dcd2a9 (patch)
tree66a4b0da649d0814312b6464a129ec895ae012f1 /src/gallium/include/pipe/p_context.h
parentc8b069cc1e839b5dd7a11d33c291b6b587a45df3 (diff)
Make the pipe headers C++ friendly.
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r--src/gallium/include/pipe/p_context.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 036c4c8964..f69b52f5e3 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -31,6 +31,11 @@
#include "p_state.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct pipe_state_cache;
/* Opaque driver handles:
@@ -226,4 +231,9 @@ struct pipe_context {
unsigned flags );
};
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* PIPE_CONTEXT_H */