[vala] vapi: Update GIR-based bindings



commit b1155d32da2c490b507565733630c0e238665a8a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Mar 5 23:19:44 2017 +0100

    vapi: Update GIR-based bindings

 vapi/Makefile.am                       |    6 ++++++
 vapi/graphene-1.0.vapi                 |    4 +++-
 vapi/gstreamer-bad-allocators-1.0.deps |    1 +
 vapi/gstreamer-bad-allocators-1.0.vapi |   16 ++++++++++++++++
 vapi/gtk+-4.0.vapi                     |    2 --
 vapi/json-glib-1.0.vapi                |   14 +++++++-------
 6 files changed, 33 insertions(+), 10 deletions(-)
---
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 64820a4..6e5a043 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 56cc110..b1aa112 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 0000000..26a0edb
--- /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 0000000..08b5b63
--- /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 dabfa2e..237ed6f 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 7ac4dc2..65544cb 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 ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]