From b5f9e070345f44af690cbcfeb9abd9ce1b3d979d Mon Sep 17 00:00:00 2001 From: Daniel Berg Date: Tue, 19 Nov 2024 10:32:42 +0100 Subject: [PATCH] std.c.darwin: make os_log_t a pointer to opaque --- lib/std/c/darwin.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig index b925a15942..ef128beaeb 100644 --- a/lib/std/c/darwin.zig +++ b/lib/std/c/darwin.zig @@ -928,7 +928,7 @@ pub const OS_SIGNPOST_ID_NULL: os_signpost_id_t = 0; pub const OS_SIGNPOST_ID_INVALID: os_signpost_id_t = !0; pub const OS_SIGNPOST_ID_EXCLUSIVE: os_signpost_id_t = 0xeeeeb0b5b2b2eeee; -pub const os_log_t = opaque {}; +pub const os_log_t = *opaque {}; pub const os_log_type_t = enum(u8) { /// default messages always captures OS_LOG_TYPE_DEFAULT = 0x00,