]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0: Fix gdk_draw_rgb_image binding
authorJürg Billeter <j@bitron.ch>
Sat, 7 Mar 2009 16:51:08 +0000 (17:51 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 7 Mar 2009 16:51:08 +0000 (17:51 +0100)
vapi/gdk-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata

index 603d85c1188bdcb563cf8536d82b75e640bae384..e374e30381edd1340c43e4129f727e8422934a17 100644 (file)
@@ -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")]
index c26c36d8d9aa905c254b71d44652578b56a5a220..604077ffe6d9480bbbd52905a1501bc014bb044a 100644 (file)
@@ -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"