From 07cff557463d13bbd1baa970f609c8dbb13e16a8 Mon Sep 17 00:00:00 2001 From: Alexey Yerin Date: Wed, 4 Oct 2023 20:59:45 +0300 Subject: Update for opaque and other Hare changes --- bindings/gobject/types.ha | 2 +- bindings/types/libc/types.ha | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings') 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, -- cgit 1.3.0-6-gf8a5