]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
cogl-1.0: fix read_pixels pixels argument
authorEvan Nemerson <evan@coeus-group.com>
Tue, 10 Dec 2013 21:07:44 +0000 (13:07 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 10 Dec 2013 21:07:44 +0000 (13:07 -0800)
vapi/cogl-1.0.vapi
vapi/packages/cogl-1.0/cogl-1.0.metadata

index 20c636f936ba7f4bd4ffce3019d83b5d0657b338..b245d42bb2516ee1722a3c152a17bd9f9ffcf3bd 100644 (file)
@@ -751,7 +751,7 @@ namespace Cogl {
        [CCode (cheader_filename = "cogl/cogl.h")]
        public static void push_matrix ();
        [CCode (cheader_filename = "cogl/cogl.h")]
-       public static void read_pixels (int x, int y, int width, int height, Cogl.ReadPixelsFlags source, Cogl.PixelFormat format, uchar pixels);
+       public static void read_pixels (int x, int y, int width, int height, Cogl.ReadPixelsFlags source, Cogl.PixelFormat format, [CCode (array_length = false)] uint8[] pixels);
        [CCode (cheader_filename = "cogl/cogl.h")]
        public static GLib.Type read_pixels_flags_get_type ();
        [CCode (cheader_filename = "cogl/cogl.h")]
index 5ddf1fc585dc816762726f11884c222ea4d288d7..85026ec17abb8872bb5c4662b92e35121da810e4 100644 (file)
@@ -124,6 +124,8 @@ cogl_path_new hidden="1"
 cogl_path_polygon.coords is_array="1" no_array_length="1"
 cogl_path_polyline.coords is_array="1" no_array_length="1"
 
+cogl_read_pixels.pixels type_name="uint8[]" no_array_length="1"
+
 cogl_vertex_buffer_* hidden="1"
 
 cogl_get_option_group transfer_ownership="1"