diff options
author | Alexey Yerin <yyp@disroot.org> | 2023-10-04 20:59:45 +0300 |
---|---|---|
committer | Alexey Yerin <yyp@disroot.org> | 2023-10-04 20:59:45 +0300 |
commit | 07cff557463d13bbd1baa970f609c8dbb13e16a8 (patch) | |
tree | 5ed04987ffde8fd18f7e58886cdb3e7e57465609 /bindings | |
parent | a3f09a04518ce9ed7cb93719149f75c36ad02856 (diff) |
Update for opaque and other Hare changes
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/gobject/types.ha | 2 | ||||
-rw-r--r-- | bindings/types/libc/types.ha | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/gobject/types.ha b/bindings/gobject/types.ha index 193bffd..570fe30 100644 --- a/bindings/gobject/types.ha +++ b/bindings/gobject/types.ha @@ -9,5 +9,5 @@ export type ValueUnion = union { v_uint64: u64, v_float: f32, v_double: f64, - v_pointer: *void, + v_pointer: *opaque, }; diff --git a/bindings/types/libc/types.ha b/bindings/types/libc/types.ha index bfb0dc0..e6b83b7 100644 --- a/bindings/types/libc/types.ha +++ b/bindings/types/libc/types.ha @@ -14,7 +14,7 @@ export type tm = struct { tm_isdst: int, }; -export type FILE = void; +export type FILE = opaque; export type passwd = struct { pw_name: *c::char, |