From 100753a060bebb9ad33a2b56722a4e83faba3fea Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 21 Mar 2025 10:40:06 +0100 Subject: Move bindings from bindings/gi => gi Signed-off-by: Drew DeVault --- gi/gobject/types.ha | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gi/gobject/types.ha (limited to 'gi/gobject') diff --git a/gi/gobject/types.ha b/gi/gobject/types.ha new file mode 100644 index 0000000..570fe30 --- /dev/null +++ b/gi/gobject/types.ha @@ -0,0 +1,13 @@ +use types::c; + +export type ValueUnion = union { + v_int: int, + v_uint: uint, + v_long: c::long, + v_ulong: c::ulong, + v_int64: i64, + v_uint64: u64, + v_float: f32, + v_double: f64, + v_pointer: *opaque, +}; -- cgit 1.3.0-6-gf8a5