vala r2266 - in trunk: . vapi vapi/packages/gdk-2.0 vapi/packages/gdk-pixbuf-2.0 vapi/packages/gstreamer-netbuffer-0.10 vapi/packages/gtk+-2.0



Author: juergbi
Date: Sun Jan  4 15:05:48 2009
New Revision: 2266
URL: http://svn.gnome.org/viewvc/vala?rev=2266&view=rev

Log:
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


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

Modified: trunk/vapi/cairo.vapi
==============================================================================
--- trunk/vapi/cairo.vapi	(original)
+++ trunk/vapi/cairo.vapi	Sun Jan  4 15:05:48 2009
@@ -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 @@
 	[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 @@
 		[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 ();

Modified: trunk/vapi/gdk-2.0.vapi
==============================================================================
--- trunk/vapi/gdk-2.0.vapi	(original)
+++ trunk/vapi/gdk-2.0.vapi	Sun Jan  4 15:05:48 2009
@@ -55,10 +55,10 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	[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 @@
 	}
 	[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 @@
 	[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 @@
 	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")]

Modified: trunk/vapi/gdk-pixbuf-2.0.vapi
==============================================================================
--- trunk/vapi/gdk-pixbuf-2.0.vapi	(original)
+++ trunk/vapi/gdk-pixbuf-2.0.vapi	Sun Jan  4 15:05:48 2009
@@ -14,16 +14,14 @@
 		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 @@
 		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 @@
 		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 @@
 		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);

Modified: trunk/vapi/gio-2.0.vapi
==============================================================================
--- trunk/vapi/gio-2.0.vapi	(original)
+++ trunk/vapi/gio-2.0.vapi	Sun Jan  4 15:05:48 2009
@@ -432,7 +432,7 @@
 		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);

Modified: trunk/vapi/gstreamer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-0.10.vapi	Sun Jan  4 15:05:48 2009
@@ -61,7 +61,7 @@
 	[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 @@
 	[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;

Modified: trunk/vapi/gstreamer-audio-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-audio-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-audio-0.10.vapi	Sun Jan  4 15:05:48 2009
@@ -145,7 +145,7 @@
 		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;

Modified: trunk/vapi/gstreamer-net-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-net-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-net-0.10.vapi	Sun Jan  4 15:05:48 2009
@@ -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 @@
 	}
 	[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;

Modified: trunk/vapi/gstreamer-netbuffer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-netbuffer-0.10.vapi	(original)
+++ trunk/vapi/gstreamer-netbuffer-0.10.vapi	Sun Jan  4 15:05:48 2009
@@ -10,16 +10,14 @@
 		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 {

Modified: trunk/vapi/gtk+-2.0.vapi
==============================================================================
--- trunk/vapi/gtk+-2.0.vapi	(original)
+++ trunk/vapi/gtk+-2.0.vapi	Sun Jan  4 15:05:48 2009
@@ -20,14 +20,11 @@
 		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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 	}
 	[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 @@
 		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 @@
 		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 @@
 	[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 @@
 		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 @@
 	[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 @@
 		[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 @@
 	}
 	[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 @@
 		public string mime_type;
 		public string app_name;
 		public string app_exec;
-		[NoArrayLength]
+		[CCode (array_length = false)]
 		public string[] groups;
 		public bool is_private;
 	}

Modified: trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata	(original)
+++ trunk/vapi/packages/gdk-2.0/gdk-2.0.metadata	Sun Jan  4 15:05:48 2009
@@ -63,9 +63,8 @@
 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"

Modified: trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata	(original)
+++ trunk/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata	Sun Jan  4 15:05:48 2009
@@ -2,13 +2,11 @@
 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"

Modified: trunk/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata
==============================================================================
--- trunk/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata	(original)
+++ trunk/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata	Sun Jan  4 15:05:48 2009
@@ -2,9 +2,9 @@
 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"

Modified: trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata	(original)
+++ trunk/vapi/packages/gtk+-2.0/gtk+-2.0.metadata	Sun Jan  4 15:05:48 2009
@@ -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_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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]