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 standard library.
std › Io › Kqueue › groupAsync Private Function groupAsync Doc Source Private Function std.Io.Kqueue.groupAsync
fn groupAsync (
userdata : ?*anyopaque ,
type_erased : *Io .Group ,
context : []const u8 ,
context_alignment : Alignment ,
start : *const fn (context : *const anyopaque ) void ,
) void Params userdata : ?*anyopaque type_erased : *Io .Group context : []const u8 context_alignment : Alignment start : *const fn (context : *const anyopaque ) void File Io/Kqueue.zig: 763
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777 fn groupAsync (
userdata : ?*anyopaque ,
type_erased : *Io .Group ,
context : []const u8 ,
context_alignment : Alignment ,
start : *const fn (context : *const anyopaque ) void ,
) void {
const k : *Kqueue = @ptrCast (@alignCast (userdata ));
_ = k ;
_ = type_erased ;
_ = context ;
_ = context_alignment ;
_ = start ;
@panic ("TODO" );
}