From: Evan Nemerson Date: Tue, 10 Dec 2013 21:07:44 +0000 (-0800) Subject: cogl-1.0: fix read_pixels pixels argument X-Git-Tag: 0.23.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbd0eba01d66a5af168f8dc7027ce18d3793f1ae;p=thirdparty%2Fvala.git cogl-1.0: fix read_pixels pixels argument --- diff --git a/vapi/cogl-1.0.vapi b/vapi/cogl-1.0.vapi index 20c636f93..b245d42bb 100644 --- a/vapi/cogl-1.0.vapi +++ b/vapi/cogl-1.0.vapi @@ -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")] diff --git a/vapi/packages/cogl-1.0/cogl-1.0.metadata b/vapi/packages/cogl-1.0/cogl-1.0.metadata index 5ddf1fc58..85026ec17 100644 --- a/vapi/packages/cogl-1.0/cogl-1.0.metadata +++ b/vapi/packages/cogl-1.0/cogl-1.0.metadata @@ -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"