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.

get_DYNAMIC

TODO fix comparisons of extern symbol pointers so we don't need this helper function.

dynamic_library.get_DYNAMIC
pub fn get_DYNAMIC() ?[*]const elf.Dyn

File

lib/std/dynamic_library.zig:96

Code

pub fn get_DYNAMIC() ?[*]const elf.Dyn {
    return @extern([*]const elf.Dyn, .{
        .name = "_DYNAMIC",
        .linkage = .weak,
        .visibility = .hidden,
    });
}