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 61f1d9b..0ce9732 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 bd9af54..3277024 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