summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-08 07:34:01 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-08 07:34:01 +0200
commit7f1715fe162576bee2b1e56659a212a3fc9615ea (patch)
treed3c1ee5c4c4312d0b89ff3970ea3dfcc206c94de /vapi
parentf017d0e96d22cf8b70ec67cdaf818e62d8902b67 (diff)
parent88c49a94de01741646db2315e55ecea1c57bddb7 (diff)
Merge branch 'release/debian/0.30.15-1'debian/0.30.15-1
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gdk-wayland-3.0.vapi10
-rw-r--r--vapi/version.vapi14
2 files changed, 24 insertions, 0 deletions
diff --git a/vapi/gdk-wayland-3.0.vapi b/vapi/gdk-wayland-3.0.vapi
new file mode 100644
index 0000000..81e0a25
--- /dev/null
+++ b/vapi/gdk-wayland-3.0.vapi
@@ -0,0 +1,10 @@
+[CCode (cheader_filename = "gdk/gdkwayland.h")]
+namespace Gdk.Wayland {
+ [CCode (type_id = "GDK_TYPE_WAYLAND_WINDOW", type_check_function = "GDK_IS_WAYLAND_WINDOW")]
+ public class Window : Gdk.Window {
+ public bool export_handle (owned WindowExported callback);
+ }
+
+ [CCode (instance_pos = 2.9)]
+ public delegate void WindowExported (Gdk.Window window, string handle);
+}
diff --git a/vapi/version.vapi b/vapi/version.vapi
new file mode 100644
index 0000000..e191f2f
--- /dev/null
+++ b/vapi/version.vapi
@@ -0,0 +1,14 @@
+[CCode (cheader_filename = "version.h")]
+public const string? _GIT_VERSION;
+[CCode (cheader_filename = "config.h")]
+public const string _PREFIX;
+[CCode (cheader_filename = "config.h")]
+public const string _VERSION;
+[CCode (cheader_filename = "config.h")]
+public const string GETTEXT_PACKAGE;
+[CCode (cheader_filename = "config.h")]
+public const string _LIB;
+[CCode (cheader_filename = "config.h")]
+public const string _LIBEXECDIR;
+[CCode (cheader_filename = "config.h")]
+public const string _LANG_SUPPORT_DIR;