gallium: Add extern "C" to the headers.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 23 Apr 2008 15:10:51 +0000 (00:10 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 23 Apr 2008 17:13:41 +0000 (02:13 +0900)
src/gallium/auxiliary/util/u_blit.h
src/gallium/auxiliary/util/u_gen_mipmap.h

index 61f1d9bb32a850e88fc9878152c86968b0b14034..0ce9732e620651cc49d45b5bc68046c335775bd8 100644 (file)
 #define U_BLIT_H
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
+   
 struct pipe_context;
 struct pipe_surface;
 struct cso_context;
@@ -58,4 +62,8 @@ util_blit_pixels(struct blit_state *ctx,
                  float z, uint filter);
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
index bd9af54fb74616669b5e7dc4c861712ffa067e61..3277024f07d878bf4f31fe8b81de97a3d1725bb6 100644 (file)
 #include "pipe/p_state.h"
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+   
 struct pipe_context;
 struct pipe_texture;
 struct cso_context;
@@ -52,4 +57,9 @@ util_gen_mipmap(struct gen_mipmap_state *ctx,
                 struct pipe_texture *pt,
                 uint face, uint baseLevel, uint lastLevel, uint filter);
 
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif