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.

appendBodyWithFixups

Assumes capacity for body has already been added. Needed capacity taking into account fixups can be found with countBodyLenAfterFixups.

AstGen.appendBodyWithFixups
fn appendBodyWithFixups(astgen: *AstGen, body: []const Zir.Inst.Index) void

File

lib/std/zig/AstGen.zig:13157

Code

fn appendBodyWithFixups(astgen: *AstGen, body: []const Zir.Inst.Index) void {
    return appendBodyWithFixupsArrayList(astgen, &astgen.extra, body);
}