From 16e730f540acfe6a0015464c81831cdfacaf107b Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Sun, 28 May 2023 14:10:05 +0300 Subject: Initial commit --- bindings/glib/types.ha | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 bindings/glib/types.ha (limited to 'bindings/glib') 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; -- cgit 1.3.0-6-gf8a5