Explorar o código

use b32 for boolean_t

Beau McCartney hai 11 meses
pai
achega
58745bc7ae
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      core/sys/darwin/mach_darwin.odin

+ 2 - 1
core/sys/darwin/mach_darwin.odin

@@ -19,7 +19,8 @@ vm_size_t :: distinct c.uintptr_t
 vm_address_t :: vm_offset_t
 vm_offset_t :: distinct c.uintptr_t
 
-boolean_t :: distinct c.int
+// NOTE(beau): typedefed to int in the original headers
+boolean_t :: b32
 
 vm_prot_t :: distinct c.int