From: Rico Tzschichholz Date: Sun, 5 Mar 2017 22:19:44 +0000 (+0100) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.35.7~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1155d32da2c490b507565733630c0e238665a8a;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 64820a498..6e5a0438f 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -135,6 +135,8 @@ dist_vapi_DATA = \ gstreamer-app-1.0.deps \ gstreamer-audio-1.0.vapi \ gstreamer-audio-1.0.deps \ + gstreamer-bad-allocators-1.0.deps \ + gstreamer-bad-allocators-1.0.vapi \ gstreamer-base-1.0.vapi \ gstreamer-base-1.0.deps \ gstreamer-check-1.0.vapi \ @@ -398,6 +400,7 @@ GIDL_BINDINGS = \ GSTREAMER_1_0_BINDINGS = \ gstreamer-1.0 \ + gstreamer-bad-allocators-1.0 \ gstreamer-base-1.0 \ gstreamer-check-1.0 \ gstreamer-controller-1.0 \ @@ -650,6 +653,9 @@ gstreamer-app-1.0: gstreamer-audio-1.0: $(GENVAPI) --library $(srcdir)/gstreamer-audio-1.0 --pkg gstreamer-base-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstAudio-1.0.gir +gstreamer-bad-allocators-1.0: + $(GENVAPI) --library $(srcdir)/gstreamer-bad-allocators-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(GIRDIR)/GstBadAllocators-1.0.gir + gstreamer-base-1.0: $(GENVAPI) --library $(srcdir)/gstreamer-base-1.0 --pkg gstreamer-1.0 --metadatadir $(METADATADIR) $(METADATADIR)/GstBase-1.0-custom.vala $(GIRDIR)/GstBase-1.0.gir diff --git a/vapi/graphene-1.0.vapi b/vapi/graphene-1.0.vapi index 56cc1107a..b1aa112b2 100644 --- a/vapi/graphene-1.0.vapi +++ b/vapi/graphene-1.0.vapi @@ -56,6 +56,8 @@ namespace Graphene { [Version (since = "1.2")] public struct Frustum { public bool contains_point (Graphene.Point3D point); + [Version (since = "1.6")] + public bool equal (Graphene.Frustum b); public void get_planes ([CCode (array_length = false)] ref Graphene.Plane planes[6]); public unowned Graphene.Frustum? init (Graphene.Plane p0, Graphene.Plane p1, Graphene.Plane p2, Graphene.Plane p3, Graphene.Plane p4, Graphene.Plane p5); public unowned Graphene.Frustum? init_from_frustum (Graphene.Frustum src); @@ -186,7 +188,7 @@ namespace Graphene { [Version (since = "1.2")] public struct Plane { public float distance (Graphene.Point3D point); - public bool equal (Graphene.Plane p2); + public bool equal (Graphene.Plane b); public float get_constant (); public Graphene.Vec3 get_normal (); public unowned Graphene.Plane? init (Graphene.Vec3? normal, float constant); diff --git a/vapi/gstreamer-bad-allocators-1.0.deps b/vapi/gstreamer-bad-allocators-1.0.deps new file mode 100644 index 000000000..26a0edb89 --- /dev/null +++ b/vapi/gstreamer-bad-allocators-1.0.deps @@ -0,0 +1 @@ +gstreamer-1.0 diff --git a/vapi/gstreamer-bad-allocators-1.0.vapi b/vapi/gstreamer-bad-allocators-1.0.vapi new file mode 100644 index 000000000..08b5b63e7 --- /dev/null +++ b/vapi/gstreamer-bad-allocators-1.0.vapi @@ -0,0 +1,16 @@ +/* gstreamer-bad-allocators-1.0.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Gst", gir_namespace = "GstBadAllocators", gir_version = "1.0", lower_case_cprefix = "gst_")] +namespace Gst { + [CCode (cheader_filename = "gst/allocators/badallocators.h", type_cname = "GstPhysMemoryAllocatorInterface", type_id = "gst_phys_memory_allocator_get_type ()")] + public interface PhysMemoryAllocator : Gst.Allocator { + [NoWrapper] + public abstract uintptr get_phys_addr (Gst.Memory mem); + } + [CCode (cheader_filename = "gst/allocators/badallocators.h")] + [Version (since = "1.12")] + public static bool is_phys_memory (Gst.Memory mem); + [CCode (cheader_filename = "gst/allocators/badallocators.h")] + [Version (since = "1.12")] + public static uintptr phys_memory_get_phys_addr (Gst.Memory mem); +} diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi index dabfa2e7b..237ed6f37 100644 --- a/vapi/gtk+-4.0.vapi +++ b/vapi/gtk+-4.0.vapi @@ -14476,8 +14476,6 @@ namespace Gtk { public unowned Gtk.Window get_tooltip_window (); public unowned Gtk.Widget get_toplevel (); public Gtk.Align get_valign (); - [Version (since = "3.10")] - public Gtk.Align get_valign_with_baseline (); public bool get_vexpand (); public bool get_vexpand_set (); [Version (since = "2.18")] diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi index 7ac4dc2a5..65544cb63 100644 --- a/vapi/json-glib-1.0.vapi +++ b/vapi/json-glib-1.0.vapi @@ -121,21 +121,21 @@ namespace Json { [Version (since = "0.16")] public Node.alloc (); public Json.Node copy (); - public Json.Array dup_array (); - public Json.Object dup_object (); - public string dup_string (); + public Json.Array? dup_array (); + public Json.Object? dup_object (); + public string? dup_string (); [Version (since = "1.2")] public bool equal (Json.Node b); public void free (); - public unowned Json.Array get_array (); + public unowned Json.Array? get_array (); public bool get_boolean (); public double get_double (); public int64 get_int (); [Version (since = "0.8")] public Json.NodeType get_node_type (); - public unowned Json.Object get_object (); - public unowned Json.Node get_parent (); - public unowned string get_string (); + public unowned Json.Object? get_object (); + public unowned Json.Node? get_parent (); + public unowned string? get_string (); public GLib.Value get_value (); [Version (since = "0.4")] public GLib.Type get_value_type ();