summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-05 17:15:25 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-05 17:15:25 +0200
commitccee2cdbe8485ce8742f0dd99d3cfa642ff70a48 (patch)
tree5800d67b33fb02c1dd5b2054ce45b96d996b78a3 /vapi
parentb4a00487d7666a3f142e613b3c094952bfb7f2ec (diff)
parentb45d7a86484312692d5a7ac5bf98bc33fcd77f0d (diff)
Merge branch 'feature/upstream' into develop
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;