summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_screen.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-19 17:08:41 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-19 21:35:06 +0100
commit200d6dcc83ea9ac0bf6f1506214e0bd9b65714f2 (patch)
tree7422b1b1aaa4bcf96b445703ee450f01d646a6d6 /src/gallium/drivers/trace/tr_screen.h
parentff01a12b23cad44e4c93e4a2c8cdaa5d18166252 (diff)
trace: Support C++.
Diffstat (limited to 'src/gallium/drivers/trace/tr_screen.h')
-rw-r--r--src/gallium/drivers/trace/tr_screen.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_screen.h b/src/gallium/drivers/trace/tr_screen.h
index 698b84811d..93fefdb9a5 100644
--- a/src/gallium/drivers/trace/tr_screen.h
+++ b/src/gallium/drivers/trace/tr_screen.h
@@ -32,6 +32,11 @@
#include "pipe/p_screen.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct trace_screen
{
struct pipe_screen base;
@@ -48,4 +53,8 @@ struct pipe_screen *
trace_screen_create(struct pipe_screen *screen);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* TR_SCREEN_H_ */