[vala] gdk-2.0: Fix gdk_draw_rgb_image binding
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] gdk-2.0: Fix gdk_draw_rgb_image binding
- Date: Sat, 7 Mar 2009 11:51:33 -0500 (EST)
commit 007bfa46ea868e7727e2aa5529b145b7c64b02fc
Author: Jürg Billeter <j bitron ch>
Date: Sat Mar 7 17:51:08 2009 +0100
gdk-2.0: Fix gdk_draw_rgb_image binding
---
vapi/gdk-2.0.vapi | 8 ++++----
vapi/packages/gdk-2.0/gdk-2.0.metadata | 2 ++
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 603d85c..e374e30 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -1606,13 +1606,13 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void draw_rectangle (Gdk.Drawable drawable, Gdk.GC gc, bool filled, int x, int y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static void draw_rgb_32_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride);
+ public static void draw_rgb_32_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static void draw_rgb_32_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] buf, int rowstride, int xdith, int ydith);
+ public static void draw_rgb_32_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] buf, int rowstride, int xdith, int ydith);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static void draw_rgb_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] rgb_buf, int rowstride);
+ public static void draw_rgb_image (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] rgb_buf, int rowstride);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static void draw_rgb_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, uchar[] rgb_buf, int rowstride, int xdith, int ydith);
+ public static void draw_rgb_image_dithalign (Gdk.Drawable drawable, Gdk.GC gc, int x, int y, int width, int height, Gdk.RgbDither dith, [CCode (array_length = false)] uchar[] rgb_buf, int rowstride, int xdith, int ydith);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void draw_segments (Gdk.Drawable drawable, Gdk.GC gc, Gdk.Segment[] segs);
[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index c26c36d..604077f 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -21,6 +21,8 @@ gdk_display_get_maximal_cursor_size.height is_out="1"
gdk_drawable_draw_pixbuf.gc nullable="1"
gdk_drawable_get_size.width is_out="1"
gdk_drawable_get_size.height is_out="1"
+gdk_draw_rgb*_image*.buf no_array_length="1"
+gdk_draw_rgb*_image*.rgb_buf no_array_length="1"
GdkEvent* is_value_type="1"
GdkEventMotion.is_hint type_name="bool"
GdkEventMotion.state type_name="ModifierType"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]