diff options
author | Drew DeVault <drew@ddevault.org> | 2025-03-21 10:40:00 +0100 |
---|---|---|
committer | Alexey Yerin <yyp@disroot.org> | 2025-03-21 14:17:46 +0300 |
commit | 98fc3cf2108790200aa12635bc46e3cb3cb0139a (patch) | |
tree | 593ebb6ba6ff1ca1c30e693f9a3b05f377b57381 /bindings/gi/glib | |
parent | 914e76b6d3c817c942d6584ae51e41529d2a3ec7 (diff) |
all: move generated modules into gi:: namespace
Signed-off-by: Drew DeVault <drew@ddevault.org>
Diffstat (limited to 'bindings/gi/glib')
-rw-r--r-- | bindings/gi/glib/types.ha | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bindings/gi/glib/types.ha b/bindings/gi/glib/types.ha new file mode 100644 index 0000000..2492c4e --- /dev/null +++ b/bindings/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; |