diff options
author | Alexey Yerin <yyp@disroot.org> | 2023-05-28 14:10:05 +0300 |
---|---|---|
committer | Alexey Yerin <yyp@disroot.org> | 2023-05-28 14:15:22 +0300 |
commit | 16e730f540acfe6a0015464c81831cdfacaf107b (patch) | |
tree | a2aa04bf788dc16977fc6cda2ed874938c3c13c5 /bindings/glib |
Initial commit
Diffstat (limited to 'bindings/glib')
-rw-r--r-- | bindings/glib/types.ha | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bindings/glib/types.ha b/bindings/glib/types.ha new file mode 100644 index 0000000..c973570 --- /dev/null +++ b/bindings/glib/types.ha @@ -0,0 +1,8 @@ +// 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; |