[vala] cogl-1.0: fix read_pixels pixels argument
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] cogl-1.0: fix read_pixels pixels argument
- Date: Tue, 10 Dec 2013 21:08:28 +0000 (UTC)
commit bbd0eba01d66a5af168f8dc7027ce18d3793f1ae
Author: Evan Nemerson <evan coeus-group com>
Date: Tue Dec 10 13:07:44 2013 -0800
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 deletions(-)
---
diff --git a/vapi/cogl-1.0.vapi b/vapi/cogl-1.0.vapi
index 20c636f..b245d42 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 5ddf1fc..85026ec 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]