gallium: wrap decls in extern "C"
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 23 Mar 2008 18:30:53 +0000 (18:30 +0000)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sun, 23 Mar 2008 18:38:31 +0000 (18:38 +0000)
src/gallium/drivers/softpipe/sp_winsys.h

index fc372dba27b48585f079a6a963a231ce157f0edd..291825dfe228998025c0b973d7a1b7285f48f62f 100644 (file)
 
 #include "pipe/p_compiler.h" /* for boolean */
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 enum pipe_format;
 
 struct softpipe_winsys {
@@ -60,4 +66,8 @@ struct pipe_screen *
 softpipe_create_screen(struct pipe_winsys *);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* SP_WINSYS_H */