From: Jürg Billeter Date: Sun, 4 Jan 2009 15:05:48 +0000 (+0000) Subject: Fix parameters without array length X-Git-Tag: VALA_0_5_4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b250aef6d6d38c8f37a6357c2ba894db951a6462;p=thirdparty%2Fvala.git Fix parameters without array length 2009-01-04 Jürg Billeter * 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 --- diff --git a/ChangeLog b/ChangeLog index 3790708eb..98afee725 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2009-01-04 Jürg Billeter + + * 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 * vala/valacodewriter.vala: diff --git a/vapi/cairo.vapi b/vapi/cairo.vapi index c1220d8d6..3eb23aeb3 100644 --- a/vapi/cairo.vapi +++ b/vapi/cairo.vapi @@ -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 (); diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi index 8911433d6..126306085 100644 --- a/vapi/gdk-2.0.vapi +++ b/vapi/gdk-2.0.vapi @@ -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")] diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 1f38a3c2d..220d880d6 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -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); diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 3f4143c2d..ed525f91f 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -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); diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 676a1bc30..49d895418 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -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; diff --git a/vapi/gstreamer-audio-0.10.vapi b/vapi/gstreamer-audio-0.10.vapi index 823d1d797..fe3f7f18f 100644 --- a/vapi/gstreamer-audio-0.10.vapi +++ b/vapi/gstreamer-audio-0.10.vapi @@ -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; diff --git a/vapi/gstreamer-net-0.10.vapi b/vapi/gstreamer-net-0.10.vapi index 72e5929ca..1c685884b 100644 --- a/vapi/gstreamer-net-0.10.vapi +++ b/vapi/gstreamer-net-0.10.vapi @@ -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; diff --git a/vapi/gstreamer-netbuffer-0.10.vapi b/vapi/gstreamer-netbuffer-0.10.vapi index 283955d99..188816931 100644 --- a/vapi/gstreamer-netbuffer-0.10.vapi +++ b/vapi/gstreamer-netbuffer-0.10.vapi @@ -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 { diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 2202a3479..5e60b8ac6 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -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; } diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata index 05e33cb5e..01a9eaa38 100644 --- a/vapi/packages/gdk-2.0/gdk-2.0.metadata +++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata @@ -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" diff --git a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata index b6445151b..123ddd6d9 100644 --- a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata +++ b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata @@ -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" diff --git a/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata b/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata index de451f470..c53076c55 100644 --- a/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata +++ b/vapi/packages/gstreamer-netbuffer-0.10/gstreamer-netbuffer-0.10.metadata @@ -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" diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata index 555cef0d7..501e6043e 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata +++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata @@ -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"