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.

data_in_code_entry

The LC_DATA_IN_CODE load commands uses a linkedit_data_command to point to an array of data_in_code_entry entries. Each entry describes a range of data in a code section.

macho.data_in_code_entry
pub const data_in_code_entry = extern struct

File

lib/std/macho.zig:1907

Code

pub const data_in_code_entry = extern struct {
    /// From mach_header to start of data range.
    offset: u32,
    /// Number of bytes in data range.
    length: u16,
    /// A DICE_KIND value.
    kind: u16,
}