make extra types distinct to fit existing types
This commit is contained in:
1 parent
5c0c1287dc
commit
2fc04f29c8
1 file changed
+9
-9
@@ -14,20 +14,20 @@ semaphore_t :: distinct u64
|
||||
kern_return_t :: distinct u64
|
||||
thread_act_t :: distinct u64
|
||||
|
||||
mach_port_t :: c.uint
|
||||
vm_map_t :: mach_port_t
|
||||
mem_entry_name_port_t :: mach_port_t
|
||||
mach_port_t :: distinct c.uint
|
||||
vm_map_t :: distinct mach_port_t
|
||||
mem_entry_name_port_t :: distinct mach_port_t
|
||||
|
||||
vm_size_t :: c.uintptr_t
|
||||
vm_size_t :: distinct c.uintptr_t
|
||||
|
||||
vm_address_t :: vm_offset_t
|
||||
vm_offset_t :: c.uintptr_t
|
||||
vm_address_t :: distinct vm_offset_t
|
||||
vm_offset_t :: distinct c.uintptr_t
|
||||
|
||||
boolean_t :: c.int
|
||||
boolean_t :: distinct c.int
|
||||
|
||||
vm_prot_t :: c.int
|
||||
vm_prot_t :: distinct c.int
|
||||
|
||||
vm_inherit_t :: c.uint
|
||||
vm_inherit_t :: distinct c.uint
|
||||
|
||||
@(default_calling_convention="c")
|
||||
foreign mach {
|
||||
|
||||
Reference in new issue
Block a user