Explorar o código

make aliases of vm types not distinct

I think they're meant to be used interchangeably, just typedefed to have more
clear names for certain contexts
Beau McCartney hai 11 meses
pai
achega
7b1086b489
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      core/sys/darwin/mach_darwin.odin

+ 3 - 3
core/sys/darwin/mach_darwin.odin

@@ -15,12 +15,12 @@ kern_return_t :: distinct u64
 thread_act_t :: distinct u64
 
 mach_port_t :: distinct c.uint
-vm_map_t :: distinct mach_port_t
-mem_entry_name_port_t :: distinct mach_port_t
+vm_map_t :: mach_port_t
+mem_entry_name_port_t :: mach_port_t
 
 vm_size_t :: distinct c.uintptr_t
 
-vm_address_t :: distinct vm_offset_t
+vm_address_t :: vm_offset_t
 vm_offset_t :: distinct c.uintptr_t
 
 boolean_t :: distinct c.int