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

EXCEPTION

Public Struct
std.c.darwin.MACH.EXCEPTION
pub const EXCEPTION = packed struct(exception_mask_t)

Fields

_: u29 = 0
BACKTRACE_PREFERRED: bool = false

Prefer sending a catch_exception_raice_backtrace message, if applicable.

ERRORS: bool = false

include additional exception specific errors, not used yet.

CODES: bool = false

Send 64-bit code and subcode in the exception header */

Values

File

c/darwin.zig:131
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
    pub const EXCEPTION = packed struct(exception_mask_t) {
        _: u29 = 0,
        /// Prefer sending a catch_exception_raice_backtrace message, if applicable.
        BACKTRACE_PREFERRED: bool = false,
        /// include additional exception specific errors, not used yet.
        ERRORS: bool = false,
        /// Send 64-bit code and subcode in the exception header */
        CODES: bool = false,

        pub const MASK: exception_mask_t = @bitCast(MACH.EXCEPTION{
            .BACKTRACE_PREFERRED = true,
            .ERRORS = true,
            .CODES = true,
        });
    }