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

source_version_command

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

The source_version_command is an optional load command containing the version of the sources used to build the binary.

Fields

cmd: LC = .SOURCE_VERSION

LC_SOURCE_VERSION

cmdsize: u32 = @sizeOf(source_version_command)

sizeof(source_version_command)

version: u64

A.B.C.D.E packed as a24.b10.c10.d10.e10

File

macho.zig:96
96
97
98
99
100
101
102
103
104
105
pub const source_version_command = extern struct {
    /// LC_SOURCE_VERSION
    cmd: LC = .SOURCE_VERSION,

    /// sizeof(source_version_command)
    cmdsize: u32 = @sizeOf(source_version_command),

    /// A.B.C.D.E packed as a24.b10.c10.d10.e10
    version: u64,
}