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

ImportHeader

Public Struct
std.coff.ImportHeader
pub const ImportHeader = extern struct

Fields

sig1: IMAGE.FILE.MACHINE = .UNKNOWN

Must be IMAGE_FILE_MACHINE_UNKNOWN

sig2: u16 = 0xFFFF

Must be 0xFFFF

version: u16
machine: IMAGE.FILE.MACHINE
time_date_stamp: u32
size_of_data: u32
hint: u16
types: packed struct(u16) { type: ImportType, name_type: ImportNameType, reserved: u11, }

File

coff.zig:1356
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
pub const ImportHeader = extern struct {
    /// Must be IMAGE_FILE_MACHINE_UNKNOWN
    sig1: IMAGE.FILE.MACHINE = .UNKNOWN,
    /// Must be 0xFFFF
    sig2: u16 = 0xFFFF,
    version: u16,
    machine: IMAGE.FILE.MACHINE,
    time_date_stamp: u32,
    size_of_data: u32,
    hint: u16,
    types: packed struct(u16) {
        type: ImportType,
        name_type: ImportNameType,
        reserved: u11,
    },
}