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

Elf32_Sym

Public Struct
std.elf.Elf32_Sym
pub const Elf32_Sym = extern struct

Deprecated, use std.elf.Elf32.Sym

Fields

st_name: Word
st_value: Elf32_Addr
st_size: Word
st_info: u8
st_other: u8
st_shndx: Elf32_Section

Functions

pub inline fn st_type(self: @This()) u4
pub inline fn st_bind(self: @This()) u4

File

elf.zig:1278
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
pub const Elf32_Sym = extern struct {
    st_name: Word,
    st_value: Elf32_Addr,
    st_size: Word,
    st_info: u8,
    st_other: u8,
    st_shndx: Elf32_Section,

    pub inline fn st_type(self: @This()) u4 {
        return @truncate(self.st_info);
    }
    pub inline fn st_bind(self: @This()) u4 {
        return @truncate(self.st_info >> 4);
    }
}