about summary refs log tree commit diff
path: root/gi/glib
diff options
context:
space:
mode:
authorDrew DeVault <drew@ddevault.org>2025-03-21 10:40:06 +0100
committerAlexey Yerin <yyp@disroot.org>2025-03-21 14:40:42 +0300
commit100753a060bebb9ad33a2b56722a4e83faba3fea (patch)
tree236780e4181ccb3e8f5899765101c51c9909d7c3 /gi/glib
parentea84d7a04d5f2eb51c06a5cafbfd877228ab8c4a (diff)
Move bindings from bindings/gi => gi
Signed-off-by: Drew DeVault <drew@ddevault.org>
Diffstat (limited to 'gi/glib')
-rw-r--r--gi/glib/types.ha10
1 files changed, 10 insertions, 0 deletions
diff --git a/gi/glib/types.ha b/gi/glib/types.ha
new file mode 100644
index 0000000..2492c4e
--- /dev/null
+++ b/gi/glib/types.ha
@@ -0,0 +1,10 @@
+export type Type = size;
+
+// Boolean type used by GLib and related libraries, equivalent to gboolean in C.
+export type boolean = uint;
+
+// True value of [[boolean]].
+export def TRUE: boolean = 1;
+
+// False value of [[boolean]].
+export def FALSE: boolean = 0;