فهرست منبع

use b32 for boolean_t

Beau McCartney 11 ماه پیش
والد
کامیت
58745bc7ae
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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