Zig 0.17.0-dev (Split by item)
This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig library itself.
Zig › std/ › c/ › darwin/ › dispatch.zig › source_s
source_s
dispatch.source_s
const source_s = opaque
File
Code
const source_s = opaque {
pub inline fn as_object (source : source_t ) object_t {
return @ptrCast (source );
}
pub const set_event_handler = source_set_event_handler_f ;
pub const set_cancel_handler = source_set_cancel_handler_f ;
pub const cancel = source_cancel ;
pub const testcancel = source_testcancel ;
pub const get_handle = source_get_handle ;
pub const get_mask = source_get_mask ;
pub const get_data = source_get_data ;
pub const merge_data = source_merge_data ;
pub const set_timer = source_set_timer ;
pub const set_registration_handler = source_set_registration_handler_f ;
}