Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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. Public Struct

data_in_code_entry

Public Struct
std.macho.data_in_code_entry
pub const data_in_code_entry = extern struct

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.

Fields

offset: u32

From mach_header to start of data range.

length: u16

Number of bytes in data range.

kind: u16

A DICE_KIND value.

File

macho.zig:1926
1926
1927
1928
1929
1930
1931
1932
1933
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,
}