trace: Support C++.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 19 Aug 2008 16:08:41 +0000 (17:08 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 19 Aug 2008 20:35:06 +0000 (21:35 +0100)
src/gallium/drivers/trace/tr_context.h
src/gallium/drivers/trace/tr_screen.h

index 679371e3105c97763948e80932aa7a1bce47d2c8..7831900ec29879118f99e232b289e278e3451c0a 100644 (file)
 #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_ */
index 698b84811d29ca9b937bb5aa4a69835e9c2bec52..93fefdb9a5f69df2ce8a9656adfda05cc8b59149 100644 (file)
 #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_ */