std.c.darwin: make os_log_t a pointer to opaque

This commit is contained in:
Daniel Berg 2024-11-19 10:32:42 +01:00 committed by GitHub
parent dceab4502a
commit b5f9e07034
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,