diff options
author | José Fonseca <[email protected]> | 2008-08-19 17:08:41 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-19 21:35:06 +0100 |
commit | 200d6dcc83ea9ac0bf6f1506214e0bd9b65714f2 (patch) | |
tree | 7422b1b1aaa4bcf96b445703ee450f01d646a6d6 /src/gallium/drivers/trace/tr_context.h | |
parent | ff01a12b23cad44e4c93e4a2c8cdaa5d18166252 (diff) |
trace: Support C++.
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.h b/src/gallium/drivers/trace/tr_context.h index 679371e3105..7831900ec29 100644 --- a/src/gallium/drivers/trace/tr_context.h +++ b/src/gallium/drivers/trace/tr_context.h @@ -34,6 +34,11 @@ #include "pipe/p_context.h" +#ifdef __cplusplus +extern "C" { +#endif + + struct trace_context { struct pipe_context base; @@ -56,4 +61,8 @@ trace_context_create(struct pipe_screen *screen, struct pipe_context *pipe); +#ifdef __cplusplus +} +#endif + #endif /* TR_CONTEXT_H_ */ |