From bbd0eba01d66a5af168f8dc7027ce18d3793f1ae Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Tue, 10 Dec 2013 13:07:44 -0800 Subject: [PATCH] cogl-1.0: fix read_pixels pixels argument --- vapi/cogl-1.0.vapi | 2 +- vapi/packages/cogl-1.0/cogl-1.0.metadata | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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" -- 2.47.2