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.

getEmittedH

Returns the path to the generated header file. This function can only be called for libraries or objects.

Compile.getEmittedH
pub fn getEmittedH(compile: *Compile) LazyPath

File

lib/std/Build/Step/Compile.zig:713

Code

pub fn getEmittedH(compile: *Compile) LazyPath {
    assert(compile.kind != .exe and compile.kind != .@"test");
    return compile.getEmittedFileGeneric(&compile.generated_h);
}