vala r835 - in trunk: . vapi vapi/packages/gstreamer-0.10
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r835 - in trunk: . vapi vapi/packages/gstreamer-0.10
- Date: Sat, 12 Jan 2008 13:19:42 +0000 (GMT)
Author: juergbi
Date: Sat Jan 12 13:19:42 2008
New Revision: 835
URL: http://svn.gnome.org/viewvc/vala?rev=835&view=rev
Log:
2008-01-12 Juerg Billeter <j bitron ch>
* vapi/packages/gstreamer-0.10/: add some missing ellipsis and out
parameter metadata for gst_structure and gst_element functions,
patch by Andrea Del Signore
* vapi/gstreamer-0.10.vapi: regenerated
Modified:
trunk/ChangeLog
trunk/vapi/gstreamer-0.10.vapi
trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
Modified: trunk/vapi/gstreamer-0.10.vapi
==============================================================================
--- trunk/vapi/gstreamer-0.10.vapi (original)
+++ trunk/vapi/gstreamer-0.10.vapi Sat Jan 12 13:19:42 2008
@@ -737,7 +737,7 @@
public void parse_new_clock (out weak Gst.Clock clock);
public void parse_segment_done (Gst.Format format, int64 position);
public void parse_segment_start (Gst.Format format, int64 position);
- public void parse_state_changed (Gst.State oldstate, Gst.State newstate, Gst.State pending);
+ public void parse_state_changed (out Gst.State oldstate, out Gst.State newstate, out Gst.State pending);
public void parse_tag (out weak Gst.TagList tag_list);
public void parse_warning (out weak GLib.Error gerror, out weak string debug);
public static weak string type_get_name (Gst.MessageType type);
@@ -986,14 +986,14 @@
public void merge_structure (Gst.Structure structure);
public Caps.any ();
public Caps.empty ();
- public Caps.full (Gst.Structure struct1);
+ public Caps.full (Gst.Structure struct1, ...);
public Caps.full_valist (Gst.Structure structure, pointer var_args);
- public Caps.simple (string media_type, string fieldname);
+ public Caps.simple (string media_type, string fieldname, ...);
public weak Gst.Caps normalize ();
public void remove_structure (uint idx);
public void replace (Gst.Caps newcaps);
public pointer save_thyself (pointer parent);
- public void set_simple (string field);
+ public void set_simple (string field, ...);
public void set_simple_valist (string field, pointer varargs);
public weak Gst.Caps subtract (Gst.Caps subtrahend);
public weak string to_string ();
@@ -1054,38 +1054,38 @@
public bool fixate_field_nearest_int (string field_name, int target);
public bool @foreach (Gst.StructureForeachFunc func, pointer user_data);
public static weak Gst.Structure from_string (string string, string end);
- public bool get_boolean (string fieldname, bool value);
+ public bool get_boolean (string fieldname, out bool value);
public bool get_clock_time (string fieldname, uint64 value);
public bool get_date (string fieldname, out weak GLib.Date value);
- public bool get_double (string fieldname, double value);
- public bool get_enum (string fieldname, GLib.Type enumtype, int value);
+ public bool get_double (string fieldname, out double value);
+ public bool get_enum (string fieldname, GLib.Type enumtype, out int value);
public GLib.Type get_field_type (string fieldname);
- public bool get_fourcc (string fieldname, uint value);
- public bool get_fraction (string fieldname, int value_numerator, int value_denominator);
- public bool get_int (string fieldname, int value);
+ public bool get_fourcc (string fieldname, out uint value);
+ public bool get_fraction (string fieldname, out int value_numerator, out int value_denominator);
+ public bool get_int (string fieldname, out int value);
public weak string get_name ();
public GLib.Quark get_name_id ();
public weak string get_string (string fieldname);
- public bool get_uint (string fieldname, uint value);
+ public bool get_uint (string fieldname, out uint value);
public weak 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);
public static weak Gst.Structure id_empty_new (GLib.Quark quark);
public weak GLib.Value id_get_value (GLib.Quark field);
- public void id_set (GLib.Quark fieldname);
+ public void id_set (GLib.Quark fieldname, ...);
public void id_set_valist (GLib.Quark fieldname, pointer varargs);
public void id_set_value (GLib.Quark field, GLib.Value value);
public bool map_in_place (Gst.StructureMapFunc func, pointer user_data);
public int n_fields ();
- public Structure (string name, string firstfield);
+ public Structure (string name, string firstfield, ...);
public Structure.valist (string name, string firstfield, pointer varargs);
public weak string nth_field_name (uint index);
public void remove_all_fields ();
public void remove_field (string fieldname);
- public void remove_fields (string fieldname);
+ public void remove_fields (string fieldname, ...);
public void remove_fields_valist (string fieldname, pointer varargs);
- public void set (string fieldname);
+ public void set (string fieldname, ...);
public void set_name (string name);
public void set_parent_refcount (int refcount);
public void set_valist (string fieldname, pointer varargs);
@@ -1424,7 +1424,7 @@
public weak Gst.Pad get_pad (string name);
public virtual Gst.QueryType get_query_types ();
public weak Gst.Pad get_request_pad (string name);
- public virtual Gst.StateChangeReturn get_state (Gst.State state, Gst.State pending, uint64 timeout);
+ public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, uint64 timeout);
public weak Gst.Pad get_static_pad (string name);
public bool implements_interface (GLib.Type iface_type);
public bool is_indexable ();
@@ -1445,8 +1445,8 @@
public bool provides_clock ();
public virtual bool query (Gst.Query query);
public bool query_convert (Gst.Format src_format, int64 src_val, Gst.Format dest_format, int64 dest_val);
- public bool query_duration (Gst.Format format, int64 duration);
- public bool query_position (Gst.Format format, int64 cur);
+ public bool query_duration (ref Gst.Format format, out int64 duration);
+ public bool query_position (ref Gst.Format format, out int64 cur);
public static bool register (Gst.Plugin plugin, string name, uint rank, GLib.Type type);
public void release_request_pad (Gst.Pad pad);
public bool remove_pad (Gst.Pad pad);
Modified: trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata
==============================================================================
--- trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata (original)
+++ trunk/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata Sat Jan 12 13:19:42 2008
@@ -14,6 +14,12 @@
gst_element_link_many ellipsis="1"
GstElement::no_more_pads has_emitter="1"
gst_element_unlink_many ellipsis="1"
+gst_element_get_state.state is_out="1"
+gst_element_get_state.pending is_out="1"
+gst_element_query_duration.format is_ref="1"
+gst_element_query_duration.duration is_out="1"
+gst_element_query_position.format is_ref="1"
+gst_element_query_position.cur is_out="1"
gst_init hidden="1"
gst_iterator_free hidden="1"
gst_iterator_next hidden="1"
@@ -40,4 +46,22 @@
gst_message_parse_warning throws="0"
gst_message_parse_warning.gerror is_out="1"
gst_message_parse_warning.debug is_out="1"
+gst_message_parse_state_changed.oldstate is_out="1"
+gst_message_parse_state_changed.newstate is_out="1"
+gst_message_parse_state_changed.pending is_out="1"
gst_object_default_error throws="0"
+gst_structure_new ellipsis="1"
+gst_structure_set ellipsis="1"
+gst_structure_id_set ellipsis="1"
+gst_structure_remove_fields ellipsis="1"
+gst_structure_get_int.value is_out="1"
+gst_structure_get_boolean.value is_out="1"
+gst_structure_get_uint.value is_out="1"
+gst_structure_get_fourcc.value is_out="1"
+gst_structure_get_double.value is_out="1"
+gst_structure_get_fraction.value_numerator is_out="1"
+gst_structure_get_fraction.value_denominator is_out="1"
+gst_structure_get_enum.value is_out="1"
+gst_caps_new_simple ellipsis="1"
+gst_caps_new_full ellipsis="1"
+gst_caps_set_simple ellipsis="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]