Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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 standard library. Private Opaque

_os_object_s

Private Opaque
std.c.darwin.dispatch._os_object_s
const _os_object_s = opaque

Functions

extern "c" fn dispatch_retain(object: object_t) void
extern "c" fn dispatch_release(object: object_t) void
extern "c" fn dispatch_get_context(object: object_t) ?*anyopaque
extern "c" fn dispatch_set_context(object: object_t, context: ?*anyopaque) void
extern "c" fn dispatch_set_finalizer_f(object: object_t, finalizer: ?function_t) void
extern "c" fn dispatch_activate(object: object_t) void
extern "c" fn dispatch_suspend(object: object_t) void
extern "c" fn dispatch_resume(object: object_t) void
extern "c" fn dispatch_set_target_queue(object: object_t, queue: ?queue_t) void

File

c/darwin/dispatch.zig:15
15
16
17
18
19
20
21
22
23
24
25
const _os_object_s = opaque {
    pub const retain = dispatch_retain;
    pub const release = dispatch_release;
    pub const get_context = dispatch_get_context;
    pub const set_context = dispatch_set_context;
    pub const set_finalizer = dispatch_set_finalizer_f;
    pub const activate = dispatch_activate;
    pub const @"suspend" = dispatch_suspend;
    pub const @"resume" = dispatch_resume;
    pub const set_target_queue = dispatch_set_target_queue;
}