Make region argument to pixman_region(32)_init_rects() const
authorBenjamin Otte <otte@redhat.com>
Tue, 26 Jan 2010 18:09:56 +0000 (19:09 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 26 Jan 2010 19:22:51 +0000 (20:22 +0100)
No indenting of the header to keep git blame working

pixman/pixman-region.c
pixman/pixman.h

index 8ce5deb..ec2ddf8 100644 (file)
@@ -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;
index 876fc0c..546f0df 100644 (file)
@@ -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);