#include "pipe/p_compiler.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct u_rect {
int x0, x1;
int y0, y1;
}
}
+#ifdef __cplusplus
+}
+#endif
+
#include "pipe/p_format.h"
#include "util/u_pack_color.h"
*/
#include "pipe/p_format.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void
util_copy_rect(ubyte * dst, enum pipe_format format,
unsigned dst_stride, unsigned dst_x, unsigned dst_y,
unsigned dst_stride, unsigned dst_x, unsigned dst_y,
unsigned width, unsigned height, union util_color *uc);
+#ifdef __cplusplus
+}
+#endif
#endif /* U_RECT_H */