]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 5 Mar 2017 22:19:44 +0000 (23:19 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Mar 2017 06:53:37 +0000 (07:53 +0100)
vapi/Makefile.am
vapi/graphene-1.0.vapi
vapi/gstreamer-bad-allocators-1.0.deps [new file with mode: 0644]
vapi/gstreamer-bad-allocators-1.0.vapi [new file with mode: 0644]
vapi/gtk+-4.0.vapi
vapi/json-glib-1.0.vapi

index 64820a498fec7cb5e07256a8c36575b5fb0b9beb..6e5a0438fe8deeaa108757a8474f3454dd6223d2 100644 (file)
@@ -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
 
index 56cc1107ab89f009e06f67c2e0d9b642edcf745c..b1aa112b21110d3056b8b4e1677cb5b89e11613b 100644 (file)
@@ -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 (file)
index 0000000..26a0edb
--- /dev/null
@@ -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 (file)
index 0000000..08b5b63
--- /dev/null
@@ -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);
+}
index dabfa2e7bd192300389a4afb7b21fb227380346d..237ed6f3710cf3ee26b55818e3186db37ee3be0a 100644 (file)
@@ -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")]
index 7ac4dc2a55968fff5bde898ae599b00a179f2f61..65544cb637236858d27e0767243b927d79ac56b3 100644 (file)
@@ -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 ();