From: Jürg Billeter Date: Mon, 15 Dec 2008 20:37:08 +0000 (+0000) Subject: Various ownership fixes, patch by Evan Nemerson, fixes bug 553032 X-Git-Tag: VALA_0_5_3~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708ba0bfea291b6f44f90537121c10279e84d4f4;p=thirdparty%2Fvala.git Various ownership fixes, patch by Evan Nemerson, fixes bug 553032 2008-12-15 Jürg Billeter * vapi/packages/gstreamer-0.10/: Various ownership fixes, patch by Evan Nemerson, fixes bug 553032 * vapi/gstreamer-0.10.vapi: regenerated svn path=/trunk/; revision=2161 --- diff --git a/ChangeLog b/ChangeLog index 6a6680c33..cf89e6433 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-12-15 Jürg Billeter + + * vapi/packages/gstreamer-0.10/: + + Various ownership fixes, patch by Evan Nemerson, fixes bug 553032 + + * vapi/gstreamer-0.10.vapi: regenerated + 2008-12-15 Jürg Billeter * vapi/glib-2.0.vapi: diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index a73c7851a..5f4381198 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -1,4 +1,4 @@ -/* gstreamer-0.10.vapi generated by vapigen, do not modify. */ +/* gstreamer-0.10.vapi generated by lt-vapigen, do not modify. */ [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")] namespace Gst { @@ -141,8 +141,8 @@ namespace Gst { public Caps.any (); public void append (Gst.Caps caps2); public void append_structure (Gst.Structure structure); - public weak Gst.Caps copy (); - public weak Gst.Caps copy_nth (uint nth); + public Gst.Caps copy (); + public Gst.Caps copy_nth (uint nth); public bool do_simplify (); [CCode (has_construct_function = false)] public Caps.empty (); @@ -535,7 +535,7 @@ namespace Gst { public int id; public Gst.IndexEntryType type; public bool assoc_map (Gst.Format format, int64 value); - public weak Gst.IndexEntry copy (); + public Gst.IndexEntry copy (); } [CCode (cheader_filename = "gst/gst.h")] public class IndexFactory : Gst.PluginFeature { @@ -655,7 +655,7 @@ namespace Gst { public class MiniObject { public uint flags; public int refcount; - public weak Gst.MiniObject copy (); + public Gst.MiniObject copy (); public bool is_writable (); [ReturnsModifiedPointer] public void make_writable (); @@ -1073,7 +1073,7 @@ namespace Gst { public int64 stop; public int64 time; public bool clip (Gst.Format format, int64 start, int64 stop, out int64 clip_start, out int64 clip_stop); - public weak Gst.Segment copy (); + public Gst.Segment copy (); public void init (Gst.Format format); [CCode (has_construct_function = false)] public Segment (); @@ -1093,7 +1093,7 @@ namespace Gst { public GLib.Quark name; public int parent_refcount; public GLib.Type type; - public weak Gst.Structure copy (); + public Gst.Structure copy (); public static weak Gst.Structure empty_new (string name); public bool fixate_field_boolean (string field_name, bool target); public bool fixate_field_nearest_double (string field_name, double target); @@ -1137,7 +1137,7 @@ namespace Gst { public void set_parent_refcount (int refcount); public void set_valist (string fieldname, void* varargs); public void set_value (string fieldname, Gst.Value value); - public weak string to_string (); + public string to_string (); [CCode (has_construct_function = false)] public Structure.valist (string name, string firstfield, void* varargs); } @@ -1346,27 +1346,27 @@ namespace Gst { [IntegerType (rank = 0)] public struct ClockTimeDiff : int64 { } - [CCode (cheader_filename = "gst/gst.h")] + [CCode (type_id = "GST_TYPE_ELEMENT_DETAILS", cheader_filename = "gst/gst.h")] public struct ElementDetails { public weak string longname; public weak string klass; public weak string description; public weak string author; } - [CCode (cheader_filename = "gst/gst.h")] + [CCode (type_id = "GST_TYPE_FORMAT_DEFINITION", cheader_filename = "gst/gst.h")] public struct FormatDefinition { public Gst.Format value; public weak string nick; public weak string description; public GLib.Quark quark; } - [CCode (cheader_filename = "gst/gst.h")] + [CCode (type_id = "GST_TYPE_STATIC_CAPS", cheader_filename = "gst/gst.h")] public struct StaticCaps { [CCode (cname = "string")] public weak string str; public Gst.Caps get (); } - [CCode (cheader_filename = "gst/gst.h")] + [CCode (type_id = "GST_TYPE_STATIC_PAD_TEMPLATE", cheader_filename = "gst/gst.h")] public struct StaticPadTemplate { public weak string name_template; public Gst.PadDirection direction; @@ -1375,7 +1375,7 @@ namespace Gst { public Gst.PadTemplate get (); public Gst.Caps get_caps (); } - [CCode (cname = "GValue", type_id = "G_TYPE_VALUE", cheader_filename = "gst/gst.h")] + [CCode (cname = "GValue", type_id = "GST_TYPE_VALUE", cheader_filename = "gst/gst.h")] public struct Value : GLib.Value { public void array_append_value (Gst.Value append_value); public uint array_get_size (); diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata index 1fd8123ec..4611b9a4c 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata @@ -28,6 +28,8 @@ gst_caps_new_full ellipsis="1" gst_caps_set_simple ellipsis="1" gst_caps_union transfer_ownership="1" gst_caps_make_writable hidden="1" +gst_caps_copy transfer_ownership="1" +gst_caps_copy_nth transfer_ownership="1" GstChildProxy::child_added has_emitter="1" GstChildProxy::child_removed has_emitter="1" GstClockTime hidden="1" @@ -91,6 +93,7 @@ gst_event_parse_tag.taglist is_out="1" value_owned="1" GstFormatDefinition is_value_type="1" GstGhostPad base_class="GstPad" GstGhostPadClass hidden="1" +gst_index_entry_copy transfer_ownership="1" gst_init hidden="1" gst_init_get_option_group transfer_ownership="1" gst_iterator_free hidden="1" @@ -131,6 +134,7 @@ GstMiniObject.instance hidden="1" GstMiniObjectClass base_class="GTypeClass" GstMiniObjectClass.type_class hidden="1" gst_mini_object_make_writable hidden="1" +gst_mini_object_copy transfer_ownership="1" GstObjectClass name="pointer" gst_object_default_error throws="0" gst_class_signal_connect hidden="1" @@ -192,6 +196,7 @@ gst_query_parse_segment.stop_value is_out="1" gst_registry_feature_filter.filter delegate_target_pos="2.1" gst_segment_clip.clip_start is_out="1" gst_segment_clip.clip_stop is_out="1" +gst_segment_copy transfer_ownership="1" GstStaticCaps is_value_type="1" GstStaticCaps.caps hidden="1" gst_static_caps_get transfer_ownership="1" @@ -199,6 +204,7 @@ GstStaticPadTemplate is_value_type="1" gst_static_pad_template_get transfer_ownership="1" gst_static_pad_template_get_caps transfer_ownership="1" GstStructure is_immutable="1" +gst_structure_copy transfer_ownership="1" gst_structure_new ellipsis="1" gst_structure_from_string nullable="1" transfer_ownership="1" gst_structure_from_string.end is_out="1" @@ -215,6 +221,7 @@ gst_structure_get_fraction.value_denominator is_out="1" gst_structure_get_enum.value is_out="1" gst_structure_get_value nullable="1" type_name="Value" gst_structure_id_get_value nullable="1" +gst_structure_to_string transfer_ownership="1" gst_tag_list_get_value_index nullable="1" gst_tag_list_copy transfer_ownership="1" gst_tag_list_copy_value.dest is_out="1"