diff options
author | Benjamin Otte <otte@redhat.com> | 2010-01-26 19:09:56 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-01-26 20:22:51 +0100 |
commit | 78b6c470789eb226708a5d98bb06a962d2ae0b0d (patch) | |
tree | fc6728bbe55ff4d7f7c8f012f5adb3bded6a9c01 | |
parent | b194bb78c8a32b7252cccaebdc085cd8e759427d (diff) |
Make region argument to pixman_region(32)_init_rects() const
No indenting of the header to keep git blame working
-rw-r--r-- | pixman/pixman-region.c | 2 | ||||
-rw-r--r-- | pixman/pixman.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pixman/pixman-region.c b/pixman/pixman-region.c index 8ce5deb7..ec2ddf84 100644 --- a/pixman/pixman-region.c +++ b/pixman/pixman-region.c @@ -2470,7 +2470,7 @@ PREFIX (_selfcheck) (region_type_t *reg) PIXMAN_EXPORT pixman_bool_t PREFIX (_init_rects) (region_type_t *region, - box_type_t *boxes, int count) + const box_type_t *boxes, int count) { box_type_t *rects; int displacement; diff --git a/pixman/pixman.h b/pixman/pixman.h index 876fc0ca..546f0dff 100644 --- a/pixman/pixman.h +++ b/pixman/pixman.h @@ -393,7 +393,7 @@ void pixman_region_init_rect (pixman_region16_t *reg unsigned int width, unsigned int height); pixman_bool_t pixman_region_init_rects (pixman_region16_t *region, - pixman_box16_t *boxes, + const pixman_box16_t *boxes, int count); void pixman_region_init_with_extents (pixman_region16_t *region, pixman_box16_t *extents); @@ -480,7 +480,7 @@ void pixman_region32_init_rect (pixman_region32_t *r unsigned int width, unsigned int height); pixman_bool_t pixman_region32_init_rects (pixman_region32_t *region, - pixman_box32_t *boxes, + const pixman_box32_t *boxes, int count); void pixman_region32_init_with_extents (pixman_region32_t *region, pixman_box32_t *extents); |