diff options
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; |