From: Rico Tzschichholz Date: Mon, 27 Mar 2017 18:29:24 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.36.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289bda2a9c63f185ea3d39629e726810ef724c8f;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi index 5d164ffd3..a94b44e59 100644 --- a/vapi/gstreamer-1.0.vapi +++ b/vapi/gstreamer-1.0.vapi @@ -397,6 +397,9 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h")] public static uint64 gdouble_to_guint64 (double value); [CCode (cheader_filename = "gst/gst.h")] + [Version (since = "1.12")] + public static bool get_object_array (GLib.Object object, string name, out GLib.ValueArray array); + [CCode (cheader_filename = "gst/gst.h")] public static Gst.ClockTime get_timestamp (); [CCode (cheader_filename = "gst/gst.h")] public static int greatest_common_divisor (int a, int b); @@ -413,6 +416,9 @@ namespace Gst { [CCode (cheader_filename = "gst/gst.h")] public static void set_object_arg (GLib.Object object, string name, string value); [CCode (cheader_filename = "gst/gst.h")] + [Version (since = "1.12")] + public static bool set_object_array (GLib.Object object, string name, GLib.ValueArray array); + [CCode (cheader_filename = "gst/gst.h")] public static void set_value_from_string (out GLib.Value value, string value_str); [CCode (cheader_filename = "gst/gst.h")] public static uint64 uint64_scale (uint64 val, uint64 num, uint64 denom); @@ -2257,6 +2263,7 @@ namespace Gst { public void free (); public static Gst.Structure? from_string (string string, out unowned string end); public bool @get (...); + public bool get_array (string fieldname, out GLib.ValueArray array); public bool get_boolean (string fieldname, out bool value); public bool get_clock_time (string fieldname, out Gst.ClockTime value); public bool get_date (string fieldname, out GLib.Date value); @@ -2270,6 +2277,7 @@ namespace Gst { public bool get_int (string fieldname, out int value); [Version (since = "1.4")] public bool get_int64 (string fieldname, out int64 value); + public bool get_list (string fieldname, out GLib.ValueArray array); public unowned string get_name (); public GLib.Quark get_name_id (); public unowned string? get_string (string fieldname); @@ -2303,6 +2311,8 @@ namespace Gst { public void remove_fields (params string[] field_names); public void remove_fields_valist (string fieldname, va_list varargs); public void @set (string fieldname, ...); + public void set_array (string fieldname, GLib.ValueArray array); + public void set_list (string fieldname, GLib.ValueArray array); public void set_name (string name); public bool set_parent_refcount (int refcount); public void set_valist (string fieldname, va_list varargs); diff --git a/vapi/libpeas-1.0.vapi b/vapi/libpeas-1.0.vapi index a2bc808b5..efabe2071 100644 --- a/vapi/libpeas-1.0.vapi +++ b/vapi/libpeas-1.0.vapi @@ -74,8 +74,8 @@ namespace Peas { public class ObjectModule : GLib.TypeModule, GLib.TypePlugin { [CCode (has_construct_function = false)] protected ObjectModule (); - public void register_extension_factory (GLib.Type iface_type, owned Peas.FactoryFunc factory_func); - public void register_extension_type (GLib.Type iface_type, GLib.Type extension_type); + public void register_extension_factory (GLib.Type exten_type, owned Peas.FactoryFunc factory_func); + public void register_extension_type (GLib.Type exten_type, GLib.Type impl_type); [NoAccessorMethod] public bool local_linkage { get; construct; } [NoAccessorMethod]