summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2013-12-10 13:07:44 -0800
committerEvan Nemerson <evan@coeus-group.com>2013-12-10 13:07:44 -0800
commitbbd0eba01d66a5af168f8dc7027ce18d3793f1ae (patch)
tree0debbbe6aff661366fd91924ed1962e3ca388fc9
parentecb49b74fa98a1b693b2b7e078754c248ade7a28 (diff)
downloadvala-bbd0eba01d66a5af168f8dc7027ce18d3793f1ae.tar.gz
cogl-1.0: fix read_pixels pixels argument
-rw-r--r--vapi/cogl-1.0.vapi2
-rw-r--r--vapi/packages/cogl-1.0/cogl-1.0.metadata2
2 files changed, 3 insertions, 1 deletions
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"