From ffab43129163de418c324cffcf602e6254024f95 Mon Sep 17 00:00:00 2001 From: Soren Sandmann Pedersen Date: Thu, 10 May 2007 22:15:57 -0400 Subject: [PATCH] Make the region data struct public --- pixman/pixman-region.c | 6 ------ pixman/pixman.h | 8 +++++++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c index 38d6510..354b9d2 100644 --- a/pixman/pixman-region.c +++ b/pixman/pixman-region.c @@ -52,12 +52,6 @@ SOFTWARE. #include "pixman-private.h" #include "pixman.h" -struct pixman_region16_data { - long size; - long numRects; -/* pixman_box16_t rects[size]; in memory but not explicitly declared */ -}; - typedef struct pixman_region16_point { int x, y; } pixman_region16_point_t; diff --git a/pixman/pixman.h b/pixman/pixman.h index e32a3dc..22b20d3 100644 --- a/pixman/pixman.h +++ b/pixman/pixman.h @@ -94,7 +94,7 @@ typedef unsigned __int32 uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #else -# error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.) +# error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.) #endif /* @@ -212,6 +212,12 @@ typedef struct pixman_region16_data pixman_region16_data_t; typedef struct pixman_box16 pixman_box16_t; typedef struct pixman_region16 pixman_region16_t; +struct pixman_region16_data { + long size; + long numRects; +/* pixman_box16_t rects[size]; in memory but not explicitly declared */ +}; + struct pixman_box16 { int16_t x1, y1, x2, y2; -- 2.7.4