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

EntryPointHeader

Public Struct
std.Build.abi.fuzz.EntryPointHeader
pub const EntryPointHeader = extern struct

WebSocket server->client.

Sent whenever the set of entry points is updated.

Trailing:

  • one u32 index of source_locations per locsLen()

Fields

tag: ToClientTag = .fuzz_entry_points
locs_len_raw: [3]u8

Functions

pub fn locsLen(hdr: EntryPointHeader) u24
pub fn init(locs_len: u24) EntryPointHeader

File

Build/abi.zig:416
416
417
418
419
420
421
422
423
424
425
426
    pub const EntryPointHeader = extern struct {
        tag: ToClientTag = .fuzz_entry_points,
        locs_len_raw: [3]u8,

        pub fn locsLen(hdr: EntryPointHeader) u24 {
            return @bitCast(hdr.locs_len_raw);
        }
        pub fn init(locs_len: u24) EntryPointHeader {
            return .{ .locs_len_raw = @bitCast(locs_len) };
        }
    }