mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 06:05:00 -07:00
some mach types
This commit is contained in:
@@ -27,3 +27,17 @@ foreign mach {
|
||||
|
||||
semaphore_wait :: proc(semaphore: semaphore_t) -> kern_return_t ---
|
||||
}
|
||||
|
||||
// NOTE(beau): types for stuff in the mach APIS, recreated from the typedefs as
|
||||
// faithfully as possible
|
||||
mach_port_t :: c.uint
|
||||
vm_map_t :: mach_port_t
|
||||
mem_entry_name_port_t :: mach_port_t
|
||||
|
||||
vm_size_t :: c.uintptr_t
|
||||
|
||||
vm_address_t :: vm_offset_t
|
||||
vm_offset_t :: c.uintptr_t
|
||||
|
||||
boolean_t :: c.int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user