1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! This module corresponds to `mach/port.h`

use vm_types::{natural_t};

#[repr(C)]
pub type mach_port_name_t = natural_t;

#[repr(C)]
struct ipc_port;

#[repr(C)]
pub type ipc_port_t = *mut ipc_port;

pub type mach_port_t = ::libc::c_uint;

pub const MACH_PORT_NULL: mach_port_t = 0;