aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/p_tile.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-03-06 19:57:41 +0100
committerMichal Krol <[email protected]>2008-03-06 19:57:41 +0100
commit8143adafddabb6ac3a21c18927ae41425f26bfff (patch)
tree4a1b159695093f6388adfe383b7f82b1cb45934a /src/gallium/auxiliary/util/p_tile.h
parent4528287e040415c2071012d02f20979ff995c754 (diff)
gallium: Surround externs with extern "C".
Diffstat (limited to 'src/gallium/auxiliary/util/p_tile.h')
-rw-r--r--src/gallium/auxiliary/util/p_tile.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/util/p_tile.h b/src/gallium/auxiliary/util/p_tile.h
index 318b6d11a68..fdc80a13b38 100644
--- a/src/gallium/auxiliary/util/p_tile.h
+++ b/src/gallium/auxiliary/util/p_tile.h
@@ -52,44 +52,50 @@ pipe_clip_tile(uint x, uint y, uint *w, uint *h, const struct pipe_surface *ps)
return FALSE;
}
+#ifdef __cplusplus
+extern "C" {
+#endif
-extern void
+void
pipe_get_tile_raw(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,
void *p, int dst_stride);
-extern void
+void
pipe_put_tile_raw(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,
const void *p, int src_stride);
-extern void
+void
pipe_get_tile_rgba(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,
float *p);
-extern void
+void
pipe_put_tile_rgba(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,
const float *p);
-extern void
+void
pipe_get_tile_z(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,
uint *z);
-extern void
+void
pipe_put_tile_z(struct pipe_context *pipe,
struct pipe_surface *ps,
uint x, uint y, uint w, uint h,
const uint *z);
+#ifdef __cplusplus
+}
+#endif
#endif