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 Enum

STB

Public Enum
std.elf.STB
pub const STB = enum(u4)

Values

  • pub const NUM

    Number of defined types

  • pub const LOOS

    Start of OS-specific

  • pub const HIOS

    End of OS-specific

  • pub const GNU_UNIQUE

    Unique symbol

  • pub const LOPROC

    Start of processor-specific

  • pub const HIPROC

    End of processor-specific

  • pub const MIPS_SPLIT_COMMON

File

elf.zig:547
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
pub const STB = enum(u4) {
    /// Local symbol
    LOCAL = 0,
    /// Global symbol
    GLOBAL = 1,
    /// Weak symbol
    WEAK = 2,
    _,

    /// Number of defined types
    pub const NUM = @typeInfo(STB).@"enum".field_names.len;

    /// Start of OS-specific
    pub const LOOS: STB = @fromBackingInt(@intCast(10));
    /// End of OS-specific
    pub const HIOS: STB = @fromBackingInt(@intCast(12));

    /// Unique symbol
    pub const GNU_UNIQUE: STB = @fromBackingInt(@intCast(@backingInt(LOOS) + 0));

    /// Start of processor-specific
    pub const LOPROC: STB = @fromBackingInt(@intCast(13));
    /// End of processor-specific
    pub const HIPROC: STB = @fromBackingInt(@intCast(15));

    pub const MIPS_SPLIT_COMMON: STB = @fromBackingInt(@intCast(@backingInt(LOPROC) + 0));
}