1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use std::os::raw::c_uchar;
// exports from `MacTypes.h`
pub type Boolean = c_uchar;
// exports from `libdispatch`
#[repr(C)]
#[derive(Debug, Copy)]
pub struct dispatch_queue_s {
_address: u8,
}
impl Clone for dispatch_queue_s {
fn clone(&self) -> Self {
*self
}
}
pub type dispatch_queue_t = *mut dispatch_queue_s;