Selaa lähdekoodia

use b32 for boolean_t

Beau McCartney 11 kuukautta sitten
vanhempi
commit
58745bc7ae
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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