projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the pipe headers C++ friendly.
[mesa.git]
/
src
/
gallium
/
include
/
pipe
/
p_context.h
diff --git
a/src/gallium/include/pipe/p_context.h
b/src/gallium/include/pipe/p_context.h
index 036c4c89649b1ae514140f265f4253cf5251cf69..f69b52f5e3f049dfd15cc1dc7ce0fc6be3382c53 100644
(file)
--- 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 */