From: Evan Nemerson Date: Tue, 19 Feb 2013 06:47:12 +0000 (-0800) Subject: vapis: regenerate GIR-based bindings X-Git-Tag: 0.19.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d954caa429600cfa4bef7a9f61fe17fad65303f;p=thirdparty%2Fvala.git vapis: regenerate GIR-based bindings --- diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi index ff2d28958..e0f89d321 100644 --- a/vapi/clutter-1.0.vapi +++ b/vapi/clutter-1.0.vapi @@ -4606,7 +4606,7 @@ namespace Clutter { [CCode (array_length_pos = 1.1, array_length_type = "gsize", cheader_filename = "clutter/clutter.h")] public static unowned float[] get_shader_matrix (GLib.Value value); [CCode (cheader_filename = "clutter/clutter.h")] - public static Clutter.Units get_units (GLib.Value value); + public static unowned Clutter.Units? get_units (GLib.Value value); [CCode (cheader_filename = "clutter/clutter.h")] public static void set_color (GLib.Value value, Clutter.Color color); [CCode (cheader_filename = "clutter/clutter.h")] @@ -6015,15 +6015,15 @@ namespace Clutter { [CCode (has_construct_function = false)] public Interval (GLib.Type gtype, ...); public Clutter.Interval clone (); - public GLib.Value compute (double factor); + public unowned GLib.Value? compute (double factor); public virtual bool compute_value (double factor, out GLib.Value value); public GLib.Value get_final_value (); public GLib.Value get_initial_value (); public void get_interval (...); public GLib.Type get_value_type (); public bool is_valid (); - public GLib.Value peek_final_value (); - public GLib.Value peek_initial_value (); + public unowned GLib.Value? peek_final_value (); + public unowned GLib.Value? peek_initial_value (); public static void register_progress_func (GLib.Type value_type, Clutter.ProgressFunc func); public void set_final (...); public void set_final_value (GLib.Value value); @@ -7241,10 +7241,10 @@ namespace Clutter { public float y1; public float x2; public float y2; - public static Clutter.ActorBox alloc (); + public static Clutter.ActorBox? alloc (); public void clamp_to_pixel (); public bool contains (float x, float y); - public Clutter.ActorBox copy (); + public Clutter.ActorBox? copy (); public bool equal (Clutter.ActorBox box_b); public void free (); [CCode (cname = "clutter_actor_box_from_vertices")] @@ -7256,7 +7256,7 @@ namespace Clutter { public float get_width (); public float get_x (); public float get_y (); - public Clutter.ActorBox init (float x_1, float y_1, float x_2, float y_2); + public unowned Clutter.ActorBox? init (float x_1, float y_1, float x_2, float y_2); public void init_rect (float x, float y, float width, float height); public Clutter.ActorBox interpolate (Clutter.ActorBox final, double progress); public void set_origin (float x, float y); @@ -7302,8 +7302,8 @@ namespace Clutter { public uint8 blue; public uint8 alpha; public Clutter.Color add (Clutter.Color b); - public static Clutter.Color alloc (); - public Clutter.Color copy (); + public static Clutter.Color? alloc (); + public Clutter.Color? copy (); public Clutter.Color darken (); public bool equal (Clutter.Color v2); public void free (); @@ -7315,7 +7315,7 @@ namespace Clutter { public Color.from_string (string str); public static unowned Clutter.Color? get_static (Clutter.StaticColor color); public uint hash (); - public Clutter.Color init (uint8 red, uint8 green, uint8 blue, uint8 alpha); + public unowned Clutter.Color? init (uint8 red, uint8 green, uint8 blue, uint8 alpha); public Clutter.Color interpolate (Clutter.Color final, double progress); public Clutter.Color lighten (); [CCode (cname = "clutter_color_from_string")] @@ -7370,18 +7370,18 @@ namespace Clutter { public struct Knot { public int x; public int y; - public Clutter.Knot copy (); + public Clutter.Knot? copy (); public bool equal (Clutter.Knot knot_b); public void free (); } [CCode (cheader_filename = "clutter/clutter.h")] public struct Matrix : Cogl.Matrix { - public static Clutter.Matrix alloc (); + public static Clutter.Matrix? alloc (); public static void free (Clutter.Matrix? matrix); public static GLib.Type get_type (); - public static Clutter.Matrix init_from_array (Clutter.Matrix matrix, [CCode (array_length = false)] float[] values); - public static Clutter.Matrix init_from_matrix (Clutter.Matrix a, Clutter.Matrix b); - public static Clutter.Matrix init_identity (Clutter.Matrix matrix); + public static unowned Clutter.Matrix? init_from_array (Clutter.Matrix matrix, [CCode (array_length = false)] float[] values); + public static unowned Clutter.Matrix? init_from_matrix (Clutter.Matrix a, Clutter.Matrix b); + public static unowned Clutter.Matrix? init_identity (Clutter.Matrix matrix); } [CCode (cheader_filename = "clutter/clutter.h", has_type_id = false)] public struct MotionEvent { @@ -7401,7 +7401,7 @@ namespace Clutter { public Clutter.PathNodeType type; [CCode (array_length = false, array_null_terminated = true)] public weak Clutter.Knot[] points; - public Clutter.PathNode copy (); + public Clutter.PathNode? copy (); public bool equal (Clutter.PathNode node_b); public void free (); } @@ -7452,7 +7452,7 @@ namespace Clutter { } [CCode (cheader_filename = "clutter/clutter.h", type_id = "CLUTTER_TYPE_UNITS")] public struct Units { - public Clutter.Units copy (); + public Clutter.Units? copy (); public void free (); [CCode (cname = "clutter_units_from_cm")] public Units.from_cm (float cm); @@ -7478,11 +7478,11 @@ namespace Clutter { public float x; public float y; public float z; - public static Clutter.Vertex alloc (); - public Clutter.Vertex copy (); + public static Clutter.Vertex? alloc (); + public Clutter.Vertex? copy (); public bool equal (Clutter.Vertex vertex_b); public void free (); - public Clutter.Vertex init (float x, float y, float z); + public unowned Clutter.Vertex? init (float x, float y, float z); } [CCode (cheader_filename = "clutter/clutter.h", cprefix = "CLUTTER_ACTOR_ALIGN_", type_id = "clutter_actor_align_get_type ()")] public enum ActorAlign { diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi index e799d3f9b..7da46164f 100644 --- a/vapi/gdk-3.0.vapi +++ b/vapi/gdk-3.0.vapi @@ -5049,7 +5049,7 @@ namespace Gdk { public uint16 red; public uint16 green; public uint16 blue; - public Gdk.Color copy (); + public Gdk.Color? copy (); public bool equal (Gdk.Color colorb); public void free (); public uint hash (); @@ -5294,7 +5294,7 @@ namespace Gdk { public double green; public double blue; public double alpha; - public Gdk.RGBA copy (); + public Gdk.RGBA? copy (); public bool equal (Gdk.RGBA p2); public void free (); public uint hash (); diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 95ef73630..cc2a273dd 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -403,9 +403,9 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h")] public static int get_fraction_numerator (GLib.Value value); [CCode (cheader_filename = "gst/gst.h")] - public static GLib.Value get_fraction_range_max (GLib.Value value); + public static unowned GLib.Value? get_fraction_range_max (GLib.Value value); [CCode (cheader_filename = "gst/gst.h")] - public static GLib.Value get_fraction_range_min (GLib.Value value); + public static unowned GLib.Value? get_fraction_range_min (GLib.Value value); [CCode (cheader_filename = "gst/gst.h")] public static int64 get_int64_range_max (GLib.Value value); [CCode (cheader_filename = "gst/gst.h")] @@ -555,7 +555,7 @@ namespace Gst { public Gst.ClockTime pts; [CCode (has_construct_function = false)] public Buffer (); - public Gst.Meta add_meta (Gst.MetaInfo info, void* @params); + public unowned Gst.Meta? add_meta (Gst.MetaInfo info, void* @params); [CCode (has_construct_function = false)] public Buffer.allocate (Gst.Allocator? allocator, size_t size, Gst.AllocationParams? @params); public Gst.Buffer append (owned Gst.Buffer buf2); @@ -760,7 +760,7 @@ namespace Gst { [CCode (has_construct_function = false)] protected ControlBinding (); public virtual bool get_g_value_array (Gst.ClockTime timestamp, Gst.ClockTime interval, uint n_values, GLib.Value values); - public virtual GLib.Value get_value (Gst.ClockTime timestamp); + public virtual GLib.Value? get_value (Gst.ClockTime timestamp); public virtual bool get_value_array (Gst.ClockTime timestamp, Gst.ClockTime interval, uint n_values, void* values); public bool is_disabled (); public void set_disabled (bool disabled); @@ -1130,7 +1130,7 @@ namespace Gst { [CCode (has_construct_function = false)] public Message.error (Gst.Object src, GLib.Error error, string debug); public uint32 get_seqnum (); - public GLib.Value get_stream_status_object (); + public unowned GLib.Value? get_stream_status_object (); public unowned Gst.Structure get_structure (); public bool has_name (string name); [CCode (has_construct_function = false)] @@ -1239,7 +1239,7 @@ namespace Gst { public string get_name (); public Gst.Object get_parent (); public string get_path_string (); - public GLib.Value get_value (string property_name, Gst.ClockTime timestamp); + public GLib.Value? get_value (string property_name, Gst.ClockTime timestamp); public bool get_value_array (string property_name, Gst.ClockTime timestamp, Gst.ClockTime interval, uint n_values, void* values); public bool has_active_control_bindings (); public bool has_ancestor (Gst.Object ancestor); @@ -1661,13 +1661,13 @@ namespace Gst { public GLib.Quark get_name_id (); public unowned string get_string (string fieldname); public bool get_uint (string fieldname, out uint value); - public GLib.Value get_value (string fieldname); + public unowned GLib.Value? get_value (string fieldname); public bool has_field (string fieldname); public bool has_field_typed (string fieldname, GLib.Type type); public bool has_name (string name); [CCode (has_construct_function = false)] public Structure.id_empty (GLib.Quark quark); - public GLib.Value id_get_value (GLib.Quark field); + public unowned GLib.Value? id_get_value (GLib.Quark field); public bool id_has_field (GLib.Quark field); public bool id_has_field_typed (GLib.Quark field, GLib.Type type); public void id_set_value (GLib.Quark field, GLib.Value value); @@ -1727,7 +1727,7 @@ namespace Gst { public bool get_uint64 (string tag, out uint64 value); public bool get_uint64_index (string tag, uint index, out uint64 value); public bool get_uint_index (string tag, uint index, out uint value); - public GLib.Value get_value_index (string tag, uint index); + public unowned GLib.Value? get_value_index (string tag, uint index); public void insert (Gst.TagList from, Gst.TagMergeMode mode); public bool is_empty (); public bool is_equal (Gst.TagList list2); @@ -1822,7 +1822,7 @@ namespace Gst { protected ValueArray (); public static void append_value (GLib.Value value, GLib.Value append_value); public static uint get_size (GLib.Value value); - public static GLib.Value get_value (GLib.Value value, uint index); + public static unowned GLib.Value? get_value (GLib.Value value, uint index); public static void prepend_value (GLib.Value value, GLib.Value prepend_value); } [CCode (cheader_filename = "gst/gst.h", type_id = "gst_value_list_get_type ()")] @@ -1832,7 +1832,7 @@ namespace Gst { public static void append_value (GLib.Value value, GLib.Value append_value); public static void concat (out GLib.Value dest, GLib.Value value1, GLib.Value value2); public static uint get_size (GLib.Value value); - public static GLib.Value get_value (GLib.Value value, uint index); + public static unowned GLib.Value? get_value (GLib.Value value, uint index); public static void merge (out GLib.Value dest, GLib.Value value1, GLib.Value value2); public static void prepend_value (GLib.Value value, GLib.Value prepend_value); } @@ -1958,8 +1958,8 @@ namespace Gst { public Gst.MetaInfo info; public static bool api_type_has_tag (GLib.Type api, GLib.Quark tag); public static GLib.Type api_type_register (string api, string tags); - public static Gst.MetaInfo get_info (string impl); - public static Gst.MetaInfo register (GLib.Type api, string impl, size_t size, Gst.MetaInitFunction init_func, Gst.MetaFreeFunction free_func, Gst.MetaTransformFunction transform_func); + public static unowned Gst.MetaInfo? get_info (string impl); + public static unowned Gst.MetaInfo? register (GLib.Type api, string impl, size_t size, Gst.MetaInitFunction init_func, Gst.MetaFreeFunction free_func, Gst.MetaTransformFunction transform_func); } [CCode (cheader_filename = "gst/gst.h", has_type_id = false)] public struct MetaInfo { @@ -2290,7 +2290,7 @@ namespace Gst { [CCode (cname = "gst_formats_contains")] public static bool contains ([CCode (array_length = false, array_null_terminated = true)] Gst.Format[] formats, Gst.Format format); public static Gst.Format get_by_nick (string nick); - public static Gst.FormatDefinition get_details (Gst.Format format); + public static unowned Gst.FormatDefinition? get_details (Gst.Format format); public static unowned string get_name (Gst.Format format); public static Gst.Iterator iterate_definitions (); public static Gst.Format register (string nick, string description); diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi index d09217f50..342b56553 100644 --- a/vapi/gstreamer-audio-1.0.vapi +++ b/vapi/gstreamer-audio-1.0.vapi @@ -629,7 +629,7 @@ namespace Gst { [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_downmix_meta_api_get_type")] public static GLib.Type audio_downmix_meta_api_get_type (); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_downmix_meta_get_info")] - public static Gst.MetaInfo audio_downmix_meta_get_info (); + public static unowned Gst.MetaInfo? audio_downmix_meta_get_info (); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_format_build_integer")] public static Gst.Audio.Format audio_format_build_integer (bool sign, int endianness, int width, int depth); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_format_fill_silence")] @@ -637,7 +637,7 @@ namespace Gst { [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_format_from_string")] public static Gst.Audio.Format audio_format_from_string (string format); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_format_get_info")] - public static Gst.Audio.FormatInfo audio_format_get_info (Gst.Audio.Format format); + public static unowned Gst.Audio.FormatInfo? audio_format_get_info (Gst.Audio.Format format); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_format_info_get_type")] public static GLib.Type audio_format_info_get_type (); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_format_to_string")] @@ -651,9 +651,9 @@ namespace Gst { [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_audio_reorder_channels")] public static bool audio_reorder_channels ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_buffer_add_audio_downmix_meta")] - public static Gst.Audio.DownmixMeta buffer_add_audio_downmix_meta (Gst.Buffer buffer, [CCode (array_length_cname = "from_channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from_position, [CCode (array_length_cname = "to_channels", array_length_pos = 3.5)] Gst.Audio.ChannelPosition[] to_position, float matrix); + public static unowned Gst.Audio.DownmixMeta? buffer_add_audio_downmix_meta (Gst.Buffer buffer, [CCode (array_length_cname = "from_channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from_position, [CCode (array_length_cname = "to_channels", array_length_pos = 3.5)] Gst.Audio.ChannelPosition[] to_position, float matrix); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_buffer_get_audio_downmix_meta_for_channels")] - public static Gst.Audio.DownmixMeta buffer_get_audio_downmix_meta_for_channels (Gst.Buffer buffer, [CCode (array_length_cname = "to_channels", array_length_pos = 2.1)] Gst.Audio.ChannelPosition[] to_position); + public static unowned Gst.Audio.DownmixMeta? buffer_get_audio_downmix_meta_for_channels (Gst.Buffer buffer, [CCode (array_length_cname = "to_channels", array_length_pos = 2.1)] Gst.Audio.ChannelPosition[] to_position); [CCode (cheader_filename = "gst/audio/audio-channels.h,gst/audio/audio-enumtypes.h,gst/audio/audio-format.h,gst/audio/audio-info.h,gst/audio/audio.h,gst/audio/gstaudiobasesink.h,gst/audio/gstaudiobasesrc.h,gst/audio/gstaudiocdsrc.h,gst/audio/gstaudioclock.h,gst/audio/gstaudiodecoder.h,gst/audio/gstaudioencoder.h,gst/audio/gstaudiofilter.h,gst/audio/gstaudioiec61937.h,gst/audio/gstaudiometa.h,gst/audio/gstaudioringbuffer.h,gst/audio/gstaudiosink.h,gst/audio/gstaudiosrc.h,gst/audio/streamvolume.h", cname = "gst_stream_volume_convert_volume")] public static double stream_volume_convert_volume (Gst.Audio.StreamVolumeFormat from, Gst.Audio.StreamVolumeFormat to, double val); } diff --git a/vapi/gstreamer-net-1.0.vapi b/vapi/gstreamer-net-1.0.vapi index fe3e93c10..8fee8ffce 100644 --- a/vapi/gstreamer-net-1.0.vapi +++ b/vapi/gstreamer-net-1.0.vapi @@ -52,6 +52,6 @@ namespace Gst { [CCode (cheader_filename = "gst/net/gstnet.h")] public static GLib.Type address_meta_api_get_type (); [CCode (cheader_filename = "gst/net/gstnet.h")] - public static Gst.MetaInfo address_meta_get_info (); + public static unowned Gst.MetaInfo? address_meta_get_info (); } } diff --git a/vapi/gstreamer-rtp-1.0.vapi b/vapi/gstreamer-rtp-1.0.vapi index 44157e42c..17d63f34c 100644 --- a/vapi/gstreamer-rtp-1.0.vapi +++ b/vapi/gstreamer-rtp-1.0.vapi @@ -237,9 +237,9 @@ namespace Gst { [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")] public static Gst.Buffer buffer_new_take_data ([CCode (array_length_cname = "len", array_length_pos = 1.1, array_length_type = "gsize")] owned uint8[] data); [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")] - public static Gst.RTP.PayloadInfo payload_info_for_name (string media, string encoding_name); + public static unowned Gst.RTP.PayloadInfo? payload_info_for_name (string media, string encoding_name); [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h")] - public static Gst.RTP.PayloadInfo payload_info_for_pt (uint8 payload_type); + public static unowned Gst.RTP.PayloadInfo? payload_info_for_pt (uint8 payload_type); } namespace RTPC { [CCode (cheader_filename = "gst/rtp/gstrtcpbuffer.h,gst/rtp/gstrtpbaseaudiopayload.h,gst/rtp/gstrtpbasedepayload.h,gst/rtp/gstrtpbasepayload.h,gst/rtp/gstrtpbuffer.h,gst/rtp/gstrtppayloads.h", cname = "GstRTCPBuffer")] diff --git a/vapi/gstreamer-sdp-1.0.vapi b/vapi/gstreamer-sdp-1.0.vapi index 190d17e16..bab2a2930 100644 --- a/vapi/gstreamer-sdp-1.0.vapi +++ b/vapi/gstreamer-sdp-1.0.vapi @@ -34,22 +34,22 @@ namespace Gst { public Gst.SDP.Result dump (); public uint emails_len (); public Gst.SDP.Result free (); - public Gst.SDP.Attribute get_attribute (uint idx); + public unowned Gst.SDP.Attribute? get_attribute (uint idx); public unowned string get_attribute_val (string key); public unowned string get_attribute_val_n (string key, uint nth); - public Gst.SDP.Bandwidth get_bandwidth (uint idx); - public Gst.SDP.Connection get_connection (); + public unowned Gst.SDP.Bandwidth? get_bandwidth (uint idx); + public unowned Gst.SDP.Connection? get_connection (); public unowned string get_email (uint idx); public unowned string get_information (); - public Gst.SDP.Key get_key (); - public Gst.SDP.Media get_media (uint idx); - public Gst.SDP.Origin get_origin (); + public unowned Gst.SDP.Key? get_key (); + public unowned Gst.SDP.Media? get_media (uint idx); + public unowned Gst.SDP.Origin? get_origin (); public unowned string get_phone (uint idx); public unowned string get_session_name (); - public Gst.SDP.Time get_time (uint idx); + public unowned Gst.SDP.Time? get_time (uint idx); public unowned string get_uri (); public unowned string get_version (); - public Gst.SDP.Zone get_zone (uint idx); + public unowned Gst.SDP.Zone? get_zone (uint idx); public Gst.SDP.Result init (); public uint medias_len (); public uint phones_len (); @@ -114,14 +114,14 @@ namespace Gst { public uint connections_len (); public uint formats_len (); public Gst.SDP.Result free (); - public Gst.SDP.Attribute get_attribute (uint idx); + public unowned Gst.SDP.Attribute? get_attribute (uint idx); public unowned string get_attribute_val (string key); public unowned string get_attribute_val_n (string key, uint nth); - public Gst.SDP.Bandwidth get_bandwidth (uint idx); - public Gst.SDP.Connection get_connection (uint idx); + public unowned Gst.SDP.Bandwidth? get_bandwidth (uint idx); + public unowned Gst.SDP.Connection? get_connection (uint idx); public unowned string get_format (uint idx); public unowned string get_information (); - public Gst.SDP.Key get_key (); + public unowned Gst.SDP.Key? get_key (); public unowned string get_media (); public uint get_num_ports (); public uint get_port (); diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi index c0f974930..bcb6d7757 100644 --- a/vapi/gstreamer-video-1.0.vapi +++ b/vapi/gstreamer-video-1.0.vapi @@ -757,7 +757,7 @@ namespace Gst { [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static GLib.Type crop_meta_api_get_type (); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] - public static Gst.MetaInfo crop_meta_get_info (); + public static unowned Gst.MetaInfo? crop_meta_get_info (); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static bool event_is_force_key_unit (Gst.Event event); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] @@ -779,7 +779,7 @@ namespace Gst { [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static Gst.Video.Format format_from_string (string format); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] - public static Gst.Video.FormatInfo format_get_info (Gst.Video.Format format); + public static unowned Gst.Video.FormatInfo? format_get_info (Gst.Video.Format format); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static uint32 format_to_fourcc (Gst.Video.Format format); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] @@ -789,7 +789,7 @@ namespace Gst { [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static GLib.Type meta_api_get_type (); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] - public static Gst.MetaInfo meta_get_info (); + public static unowned Gst.MetaInfo? meta_get_info (); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static GLib.Quark meta_transform_scale_get_quark (); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h", cname = "gst_navigation_event_get_type")] @@ -833,6 +833,6 @@ namespace Gst { [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] public static GLib.Type overlay_composition_meta_api_get_type (); [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h")] - public static Gst.MetaInfo overlay_composition_meta_get_info (); + public static unowned Gst.MetaInfo? overlay_composition_meta_get_info (); } } diff --git a/vapi/mx-1.0.vapi b/vapi/mx-1.0.vapi index 00eb6651a..f25950b2d 100644 --- a/vapi/mx-1.0.vapi +++ b/vapi/mx-1.0.vapi @@ -1007,7 +1007,7 @@ namespace Mx { [CCode (has_construct_function = false)] protected Tooltip (); public unowned string get_text (); - public Clutter.Geometry get_tip_area (); + public unowned Clutter.Geometry? get_tip_area (); public void hide (); public static bool is_in_browse_mode (); public void set_text (string text); diff --git a/vapi/pango.vapi b/vapi/pango.vapi index 67c153302..3af047b64 100644 --- a/vapi/pango.vapi +++ b/vapi/pango.vapi @@ -130,7 +130,7 @@ namespace Pango { public Pango.Gravity get_gravity (); public Pango.GravityHint get_gravity_hint (); public Pango.Language get_language (); - public Pango.Matrix get_matrix (); + public unowned Pango.Matrix? get_matrix (); public Pango.FontMetrics get_metrics (Pango.FontDescription? desc, Pango.Language? language); public uint get_serial (); public void list_families ([CCode (array_length_cname = "n_families", array_length_pos = 1.1)] out Pango.FontFamily[] families); @@ -449,10 +449,10 @@ namespace Pango { public virtual void draw_trapezoid (Pango.RenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22); [NoWrapper] public virtual void end (); - public Pango.Color get_color (Pango.RenderPart part); + public Pango.Color? get_color (Pango.RenderPart part); public unowned Pango.Layout get_layout (); public unowned Pango.LayoutLine get_layout_line (); - public Pango.Matrix get_matrix (); + public unowned Pango.Matrix? get_matrix (); public virtual void part_changed (Pango.RenderPart part); [NoWrapper] public virtual void prepare_run (Pango.LayoutRun run); @@ -501,7 +501,7 @@ namespace Pango { public uint16 red; public uint16 green; public uint16 blue; - public Pango.Color copy (); + public Pango.Color? copy (); public void free (); public bool parse (string spec); public string to_string (); @@ -532,7 +532,7 @@ namespace Pango { public int end_glyph; public int end_index; public int end_char; - public Pango.GlyphItemIter copy (); + public Pango.GlyphItemIter? copy (); public void free (); public bool init_end (Pango.GlyphItem glyph_item, string text); public bool init_start (Pango.GlyphItem glyph_item, string text); @@ -572,7 +572,7 @@ namespace Pango { public double x0; public double y0; public void concat (Pango.Matrix new_matrix); - public Pango.Matrix copy (); + public Pango.Matrix? copy (); public void free (); public double get_font_scale_factor (); public void rotate (double degrees); diff --git a/vapi/poppler-glib.vapi b/vapi/poppler-glib.vapi index 9d9cc117d..4479a8bd7 100644 --- a/vapi/poppler-glib.vapi +++ b/vapi/poppler-glib.vapi @@ -96,7 +96,7 @@ namespace Poppler { public class AnnotMarkup : Poppler.Annot { [CCode (has_construct_function = false)] protected AnnotMarkup (); - public GLib.Date get_date (); + public GLib.Date? get_date (); public Poppler.AnnotExternalDataType get_external_data (); public string get_label (); public double get_opacity (); @@ -526,7 +526,7 @@ namespace Poppler { public double y2; [CCode (has_construct_function = false, type = "PopplerRectangle*")] public Rectangle (); - public Poppler.Rectangle copy (); + public Poppler.Rectangle? copy (); public void free (); } [CCode (cheader_filename = "poppler.h", cprefix = "POPPLER_ACTION_LAYER_", type_id = "poppler_action_layer_action_get_type ()")]