]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix parameters without array length
authorJürg Billeter <j@bitron.ch>
Sun, 4 Jan 2009 15:05:48 +0000 (15:05 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sun, 4 Jan 2009 15:05:48 +0000 (15:05 +0000)
2009-01-04  Jürg Billeter  <j@bitron.ch>

* vapi/cairo.vapi:
* vapi/packages/gdk-2.0/:
* vapi/packages/gdk-pixbuf-2.0/:
* vapi/packages/gstreamer-netbuffer-0.10/:
* vapi/packages/gtk+-2.0/:

Fix parameters without array length

* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-audio-0.10.vapi:
* vapi/gstreamer-net-0.10.vapi:
* vapi/gstreamer-netbuffer-0.10.vapi:
* vapi/gtk+-2.0.vapi:

Regenerated

svn path=/trunk/; revision=2266

14 files changed:
ChangeLog
vapi/cairo.vapi
vapi/gdk-2.0.vapi
vapi/gdk-pixbuf-2.0.vapi
vapi/gio-2.0.vapi
vapi/gstreamer-0.10.vapi
vapi/gstreamer-audio-0.10.vapi
vapi/gstreamer-net-0.10.vapi
vapi/gstreamer-netbuffer-0.10.vapi
vapi/gtk+-2.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata
vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 3790708eb3e856d89370141f05a28497fd4f265c..98afee72579033a64e04967896c54ddb9f6dbbca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2009-01-04  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/cairo.vapi:
+       * vapi/packages/gdk-2.0/:
+       * vapi/packages/gdk-pixbuf-2.0/:
+       * vapi/packages/gstreamer-netbuffer-0.10/:
+       * vapi/packages/gtk+-2.0/:
+
+       Fix parameters without array length
+
+       * vapi/gdk-2.0.vapi:
+       * vapi/gdk-pixbuf-2.0.vapi:
+       * vapi/gio-2.0.vapi:
+       * vapi/gstreamer-0.10.vapi:
+       * vapi/gstreamer-audio-0.10.vapi:
+       * vapi/gstreamer-net-0.10.vapi:
+       * vapi/gstreamer-netbuffer-0.10.vapi:
+       * vapi/gtk+-2.0.vapi:
+
+       Regenerated
+
 2009-01-04  Jürg Billeter  <j@bitron.ch>
 
        * vala/valacodewriter.vala:
index c1220d8d647ed5045f99b870c2efc043340f2fb9..3eb23aeb3ea574b1c0b8ffd668cf960c78e08845 100644 (file)
@@ -1,6 +1,6 @@
 /* cairo.vala
  *
- * Copyright (C) 2006-2008  Jürg Billeter
+ * Copyright (C) 2006-2009  Jürg Billeter
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -197,7 +197,7 @@ namespace Cairo {
        [CCode (free_function = "cairo_path_destroy", cname = "cairo_path_t")]
        public class Path {
                public Status status;
-               [NoArrayLength ()]
+               [CCode (array_length = false)]
                public PathData[] data;
                public int num_data;
        }
@@ -449,8 +449,7 @@ namespace Cairo {
                [CCode (cname = "cairo_image_surface_create")]
                public ImageSurface (Format format, int width, int height);
                [CCode (cname = "cairo_image_surface_create_for_data")]
-               [NoArrayLength ()]
-               public ImageSurface.for_data (uchar[] data, Format format, int width, int height, int stride);
+               public ImageSurface.for_data ([CCode (array_length = false)] uchar[] data, Format format, int width, int height, int stride);
                public uchar[] get_data ();
                public Format get_format ();
                public int get_width ();
index 8911433d635c5dbc5f5cfb21de97f5e2f6444d43..12630608564e32721cc4f275227c3d4d7d2ebc80 100644 (file)
@@ -55,10 +55,10 @@ namespace Gdk {
        }
        [CCode (cheader_filename = "gdk/gdk.h")]
        public class Device : GLib.Object {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.DeviceAxis[] axes;
                public bool has_cursor;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.DeviceKey[] keys;
                public Gdk.InputMode mode;
                public weak string name;
@@ -77,15 +77,15 @@ namespace Gdk {
        }
        [CCode (cheader_filename = "gdk/gdk.h")]
        public class Display : GLib.Object {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uint32[] button_click_time;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] button_number;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.Window[] button_window;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] button_x;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] button_y;
                public weak Gdk.Device core_pointer;
                public uint double_click_distance;
@@ -355,9 +355,9 @@ namespace Gdk {
        [CCode (cheader_filename = "gdk/gdk.h")]
        public class Screen : GLib.Object {
                public uint closed;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.GC[] exposure_gcs;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.GC[] normal_gcs;
                public void broadcast_client_message (Gdk.Event event);
                public unowned Gdk.Window get_active_window ();
@@ -910,7 +910,7 @@ namespace Gdk {
        }
        [CCode (type_id = "GDK_TYPE_RGB_CMAP", cheader_filename = "gdk/gdk.h")]
        public struct RgbCmap {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uint32[] colors;
                public int n_colors;
                public weak GLib.SList info_list;
@@ -934,7 +934,7 @@ namespace Gdk {
        [CCode (type_id = "GDK_TYPE_TIME_COORD", cheader_filename = "gdk/gdk.h")]
        public struct TimeCoord {
                public uint32 time;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak double[] axes;
        }
        [CCode (type_id = "GDK_TYPE_TRAPEZOID", cheader_filename = "gdk/gdk.h")]
@@ -1771,9 +1771,8 @@ namespace Gdk {
        public static bool setting_get (string name, GLib.Value value);
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static bool spawn_command_line_on_screen (Gdk.Screen screen, string command_line) throws GLib.Error;
-       [NoArrayLength]
        [CCode (cheader_filename = "gdk/gdk.h")]
-       public static bool spawn_on_screen (Gdk.Screen screen, string working_directory, string[] argv, string[] envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid) throws GLib.Error;
+       public static bool spawn_on_screen (Gdk.Screen screen, string working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[] envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid) throws GLib.Error;
        [CCode (cheader_filename = "gdk/gdk.h")]
        public static bool spawn_on_screen_with_pipes (Gdk.Screen screen, string working_directory, string argv, string envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, int child_pid, int standard_input, int standard_output, int standard_error) throws GLib.Error;
        [CCode (cheader_filename = "gdk/gdk.h")]
index 1f38a3c2da11e037b2c52c996d9d6d06f5a7af21..220d880d6a3b4ea643cca7f697104d22a3303078 100644 (file)
@@ -14,16 +14,14 @@ namespace Gdk {
                public static GLib.Quark error_quark ();
                public void fill (uint32 pixel);
                public unowned Gdk.Pixbuf flip (bool horizontal);
-               [NoArrayLength]
                [CCode (has_construct_function = false)]
-               public Pixbuf.from_data (uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify? destroy_fn);
+               public Pixbuf.from_data ([CCode (array_length = false)] uchar[] data, Gdk.Colorspace colorspace, bool has_alpha, int bits_per_sample, int width, int height, int rowstride, Gdk.PixbufDestroyNotify? destroy_fn);
                [CCode (has_construct_function = false)]
                public Pixbuf.from_file (string filename) throws GLib.Error;
                [CCode (has_construct_function = false)]
                public Pixbuf.from_file_at_scale (string filename, int width, int height, bool preserve_aspect_ratio) throws GLib.Error;
                [CCode (has_construct_function = false)]
                public Pixbuf.from_file_at_size (string filename, int width, int height) throws GLib.Error;
-               [NoArrayLength]
                [CCode (has_construct_function = false)]
                public Pixbuf.from_inline (int data_length, uchar[] data, bool copy_pixels) throws GLib.Error;
                public static unowned Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels) throws GLib.Error;
@@ -31,7 +29,6 @@ namespace Gdk {
                public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable) throws GLib.Error;
                [CCode (has_construct_function = false)]
                public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable) throws GLib.Error;
-               [NoArrayLength]
                [CCode (has_construct_function = false)]
                public Pixbuf.from_xpm_data (string[] data);
                public int get_bits_per_sample ();
@@ -42,7 +39,7 @@ namespace Gdk {
                public int get_height ();
                public int get_n_channels ();
                public unowned string get_option (string key);
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public unowned uchar[] get_pixels ();
                public int get_rowstride ();
                public int get_width ();
@@ -148,7 +145,7 @@ namespace Gdk {
                public uint32 rowstride;
                public uint32 width;
                public uint32 height;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uchar[] pixel_data;
                public bool deserialize ([CCode (array_length_pos = 0.9)] uchar[] stream) throws GLib.Error;
                public void* from_pixbuf (Gdk.Pixbuf pixbuf, bool use_rle);
index 3f4143c2d31caf99d1ecab8341f40d3be7b66bb8..ed525f91f9da9c5eb2e51d515d32cd27d4a646ad 100644 (file)
@@ -432,7 +432,7 @@ namespace GLib {
                public void append_name (string iconname);
                [CCode (type = "GIcon*", has_construct_function = false)]
                public ThemedIcon.from_names (string[] iconnames);
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public unowned string[] get_names ();
                [CCode (type = "GIcon*", has_construct_function = false)]
                public ThemedIcon (string iconname);
index 676a1bc30baf953c19cb14b91e29c6c2751a05e3..49d895418b84bf642a3419ffa1284f71282ebd76 100644 (file)
@@ -61,7 +61,7 @@ namespace Gst {
        [CCode (ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref", cheader_filename = "gst/gst.h")]
        public class Buffer : Gst.MiniObject {
                public weak Gst.Caps caps;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uchar[] data;
                public Gst.ClockTime duration;
                public uchar malloc_data;
@@ -1232,7 +1232,7 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h")]
        public class TraceEntry {
                public uint32 data;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak char[] message;
                public uint32 sequence;
                public int64 timestamp;
index 823d1d79785107c000ac7eff35ed5ccfc25765fe..fe3f7f18fc341167e315ba97c47285287747f9aa 100644 (file)
@@ -145,7 +145,7 @@ namespace Gst {
                public int segsize;
                public int segtotal;
                public bool sign;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uchar[] silence_sample;
                public Gst.BufferFormatType type;
                public int width;
index 72e5929ca64d13eb139a0102335c3e5ccfef904f..1c685884b2e4cea6aa2a04054216ebe21af8e2f8 100644 (file)
@@ -4,7 +4,7 @@
 namespace Gst {
        [CCode (cheader_filename = "gst/net/gstnet.h")]
        public class NetClientClock : Gst.SystemClock {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] control_sock;
                public Gst.ClockTime current_timeout;
                public void* servaddr;
@@ -30,7 +30,7 @@ namespace Gst {
        }
        [CCode (cheader_filename = "gst/net/gstnet.h")]
        public class NetTimeProvider : Gst.Object {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] control_sock;
                public int sock;
                public weak GLib.Thread thread;
index 283955d99c8f07348328653275eded861724b2ec..188816931cc33dc6d0df711a9142d2ec042e907c 100644 (file)
@@ -10,16 +10,14 @@ namespace Gst {
                public Gst.NetType type;
                [CCode (cname = "gst_netaddress_get_ip4_address")]
                public bool get_ip4_address (out uint32 address, out uint16 port);
-               [NoArrayLength]
                [CCode (cname = "gst_netaddress_get_ip6_address")]
-               public bool get_ip6_address (uchar[] address, out uint16 port);
+               public bool get_ip6_address ([CCode (array_length = false)] uchar[] address, out uint16 port);
                [CCode (cname = "gst_netaddress_get_net_type")]
                public Gst.NetType get_net_type ();
                [CCode (cname = "gst_netaddress_set_ip4_address")]
                public void set_ip4_address (uint32 address, uint16 port);
-               [NoArrayLength]
                [CCode (cname = "gst_netaddress_set_ip6_address")]
-               public void set_ip6_address (uchar[] address, uint16 port);
+               public void set_ip6_address ([CCode (array_length = false)] uchar[] address, uint16 port);
        }
        [CCode (cheader_filename = "gst/netbuffer/gstnetbuffer.h")]
        public class NetBuffer : Gst.Buffer {
index 2202a347964e62b4dd52072fb919a2b313f78d61..5e60b8ac6044e4e4519eb5e59ca9196d6c92c714 100644 (file)
@@ -20,14 +20,11 @@ namespace Gtk {
                public bool get_wrap_license ();
                [CCode (type = "GtkWidget*", has_construct_function = false)]
                public AboutDialog ();
-               [NoArrayLength]
-               public void set_artists (string[] artists);
-               [NoArrayLength]
-               public void set_authors (string[] authors);
+               public void set_artists ([CCode (array_length = false)] string[] artists);
+               public void set_authors ([CCode (array_length = false)] string[] authors);
                public void set_comments (string comments);
                public void set_copyright (string copyright);
-               [NoArrayLength]
-               public void set_documenters (string[] documenters);
+               public void set_documenters ([CCode (array_length = false)] string[] documenters);
                public static void set_email_hook (owned Gtk.AboutDialogActivateLinkFunc func);
                public void set_license (string license);
                public void set_logo (Gdk.Pixbuf logo);
@@ -499,21 +496,21 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class Calendar : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] day_month;
                public Gtk.CalendarDisplayOptions display_flags;
                public int focus_col;
                public int focus_row;
                public weak Gdk.GC gc;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak char[] grow_space;
                public weak Gtk.Style header_style;
                public int highlight_col;
                public int highlight_row;
                public weak Gtk.Style label_style;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] marked_date;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.Color[] marked_date_color;
                public int num_marked_dates;
                public int selected_day;
@@ -1064,7 +1061,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class Curve : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak float[] ctlpoint;
                public int cursor_type;
                public int grab_point;
@@ -1471,7 +1468,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class GammaCurve : Gtk.VBox, Atk.Implementor, Gtk.Buildable {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gtk.Widget[] button;
                public weak Gtk.Widget curve;
                public float gamma;
@@ -1578,7 +1575,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class IMContextSimple : Gtk.IMContext {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uint[] compose_buffer;
                public uint in_hex_sequence;
                public uint modifiers_dropped;
@@ -1898,7 +1895,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class InputDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gtk.Widget[] axis_items;
                public weak Gtk.Widget axis_list;
                public weak Gtk.Widget axis_listbox;
@@ -2057,7 +2054,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class ListStore : GLib.Object, Gtk.Buildable, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource, Gtk.TreeDragDest {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak GLib.Type[] column_headers;
                public uint columns_dirty;
                public void* default_sort_data;
@@ -2872,23 +2869,23 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class RcStyle : GLib.Object {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.Color[] @base;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.Color[] bg;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak string[] bg_pixmap_name;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gtk.RcFlags[] color_flags;
                public uint engine_specified;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.Color[] fg;
                public weak Pango.FontDescription font_desc;
                public weak GLib.SList icon_factories;
                public weak string name;
                public weak GLib.Array rc_properties;
                public weak GLib.SList rc_style_lists;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak Gdk.Color[] text;
                public int xthickness;
                public int ythickness;
@@ -3050,9 +3047,9 @@ namespace Gtk {
                public weak string abbrev;
                public weak string metric_name;
                public double pixels_per_unit;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak double[] ruler_scale;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak int[] subdivide;
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
@@ -3076,12 +3073,10 @@ namespace Gtk {
                public weak Gtk.Widget plus_button;
                public unowned Gtk.Adjustment get_adjustment ();
                public double get_value ();
-               [NoArrayLength]
                [CCode (type = "GtkWidget*", has_construct_function = false)]
-               public ScaleButton (Gtk.IconSize size, double min, double max, double step, string[] icons);
+               public ScaleButton (Gtk.IconSize size, double min, double max, double step, [CCode (array_length = false)] string[] icons);
                public void set_adjustment (Gtk.Adjustment adjustment);
-               [NoArrayLength]
-               public void set_icons (string[] icons);
+               public void set_icons ([CCode (array_length = false)] string[] icons);
                public void set_value (double value);
                public Gtk.Adjustment adjustment { get; set; }
                [NoAccessorMethod]
@@ -3136,7 +3131,7 @@ namespace Gtk {
        [Compact]
        [CCode (copy_function = "gtk_selection_data_copy", cheader_filename = "gtk/gtk.h")]
        public class SelectionData {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak uchar[] data;
                public weak Gdk.Display display;
                public int format;
@@ -3148,7 +3143,7 @@ namespace Gtk {
                public Gdk.Pixbuf? get_pixbuf ();
                public bool get_targets (out Gdk.Atom targets, int n_atoms);
                public string? get_text ();
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public string[] get_uris ();
                public void set (Gdk.Atom type, int format, uchar[] data);
                public bool set_pixbuf (Gdk.Pixbuf pixbuf);
@@ -3476,48 +3471,48 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class Style : GLib.Object {
                public int attach_count;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] @base;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] base_gc;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] bg;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] bg_gc;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Pixmap[] bg_pixmap;
                public Gdk.Color black;
                public weak Gdk.GC black_gc;
                public weak Gdk.Colormap colormap;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] dark;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] dark_gc;
                public int depth;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] fg;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] fg_gc;
                public weak Pango.FontDescription font_desc;
                public weak GLib.SList icon_factories;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] light;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] light_gc;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] mid;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] mid_gc;
                public weak GLib.Array property_cache;
                public weak Gtk.RcStyle rc_style;
                public weak GLib.SList styles;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] text;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.Color[] text_aa;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] text_aa_gc;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public Gdk.GC[] text_gc;
                public Gdk.Color white;
                public weak Gdk.GC white_gc;
@@ -4378,7 +4373,7 @@ namespace Gtk {
                [CCode (has_construct_function = false)]
                public TreePath.from_string (string path);
                public int get_depth ();
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public unowned int[] get_indices ();
                public bool is_ancestor (Gtk.TreePath descendant);
                public bool is_descendant (Gtk.TreePath ancestor);
@@ -4435,7 +4430,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class TreeStore : GLib.Object, Gtk.Buildable, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource, Gtk.TreeDragDest {
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public weak GLib.Type[] column_headers;
                public uint columns_dirty;
                public void* default_sort_data;
@@ -5559,7 +5554,7 @@ namespace Gtk {
                public string mime_type;
                public string app_name;
                public string app_exec;
-               [NoArrayLength]
+               [CCode (array_length = false)]
                public string[] groups;
                public bool is_private;
        }
index 05e33cb5e43d34b0b0e224af9c8d0553e9a6476e..01a9eaa38705a16dc91fd7e91f39521170343017 100644 (file)
@@ -63,9 +63,8 @@ GdkRgbCmap is_value_type="1"
 gdk_screen_get_monitor_geometry.dest is_out="1"
 GdkSegment is_value_type="1"
 GdkSpan is_value_type="1"
-gdk_spawn_on_screen no_array_length="1"
-gdk_spawn_on_screen.argv is_array="1"
-gdk_spawn_on_screen.envp is_array="1"
+gdk_spawn_on_screen.argv is_array="1" no_array_length="1"
+gdk_spawn_on_screen.envp is_array="1" no_array_length="1"
 GdkTimeCoord is_value_type="1"
 GdkTrapezoid is_value_type="1"
 GdkVisualClass hidden="1"
index b6445151b4b554354c81992a1cf527a5de134d10..123ddd6d963c161068ee22cc38993bc16bf61a34 100644 (file)
@@ -2,13 +2,11 @@ Gdk cheader_filename="gdk-pixbuf/gdk-pixdata.h"
 gdk_pixbuf_get_pixels no_array_length="1"
 gdk_pixbuf_new_from_data.destroy_fn nullable="1"
 gdk_pixbuf_new_from_data.destroy_fn_data hidden="1"
-gdk_pixbuf_new_from_data no_array_length="1"
+gdk_pixbuf_new_from_data.data no_array_length="1"
 gdk_pixbuf_new_from_stream.cancellable nullable="1"
 gdk_pixbuf_new_from_stream_at_scale.cancellable nullable="1"
-gdk_pixbuf_new_from_xpm_data.data is_array="1"
-gdk_pixbuf_new_from_xpm_data no_array_length="1"
-gdk_pixbuf_new_from_inline.data is_array="1"
-gdk_pixbuf_new_from_inline no_array_length="1"
+gdk_pixbuf_new_from_xpm_data.data is_array="1" no_array_length="1"
+gdk_pixbuf_new_from_inline.data is_array="1" no_array_length="1"
 gdk_pixbuf_save ellipsis="1"
 gdk_pixbuf_save_to_buffer ellipsis="1"
 gdk_pixbuf_save_to_bufferv.option_keys is_array="1"
index de451f47059c9c08458bc48720e57bd13648bb6a..c53076c5510a3af55190fbb3574b0623c66e5fd6 100644 (file)
@@ -2,9 +2,9 @@ Gst cprefix="Gst" lower_case_cprefix="gst_" cheader_filename="gst/netbuffer/gstn
 GstNetBuffer base_class="GstBuffer"
 gst_netaddress_get_ip4_address.address is_out="1"
 gst_netaddress_get_ip4_address.port is_out="1"
-gst_netaddress_set_ip6_address no_array_length="1"
-gst_netaddress_get_ip6_address no_array_length="1"
+gst_netaddress_set_ip6_address.address no_array_length="1"
+gst_netaddress_get_ip6_address.address no_array_length="1"
 gst_netaddress_get_ip6_address.port is_out="1"
-gst_netaddress_set_address_bytes no_array_length="1"
-gst_netaddress_get_address_bytes no_array_length="1"
+gst_netaddress_set_address_bytes.address no_array_length="1"
+gst_netaddress_get_address_bytes.address no_array_length="1"
 gst_netaddress_get_address_bytes.port is_out="1"
index 555cef0d7e611077b133c240bfc0e13f0296a8f1..501e6043e45334fdc14ccd3c6f6f7845ab3846f3 100644 (file)
@@ -1,9 +1,6 @@
 Gtk cheader_filename="gtk/gtk.h"
-gtk_about_dialog_set_artists no_array_length="1"
-gtk_about_dialog_set_artists.artists is_array="1"
-gtk_about_dialog_set_authors no_array_length="1"
+gtk_about_dialog_set_artists.artists is_array="1" no_array_length="1"
 gtk_about_dialog_set_authors.authors is_array="1" no_array_length="1"
-gtk_about_dialog_set_documenters no_array_length="1"
 gtk_about_dialog_set_documenters.documenters is_array="1" no_array_length="1"
 gtk_about_dialog_set_email_hook.func transfer_ownership="1"
 gtk_about_dialog_set_email_hook.data hidden="1"
@@ -292,10 +289,8 @@ GtkRecentData.app_name weak="0"
 GtkRecentData.app_exec weak="0"
 GtkRecentData.groups is_array="1" weak="0"
 GtkRequisition is_value_type="1"
-gtk_scale_button_new no_array_length="1"
-gtk_scale_button_new.icons is_array="1"
-gtk_scale_button_set_icons no_array_length="1"
-gtk_scale_button_set_icons.icons is_array="1"
+gtk_scale_button_new.icons is_array="1" no_array_length="1"
+gtk_scale_button_set_icons.icons is_array="1" no_array_length="1"
 gtk_scale_draw_value hidden="1"
 gtk_scrolled_window_new.hadjustment nullable="1"
 gtk_scrolled_window_new.vadjustment nullable="1"