tiny.alloc.ProcessAllocatorFinish
Defined in tiny.alloc.
API (5)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/alloc/src/owner.zig:12
zig
pub const ProcessAllocatorFinish = union(enum) { clean, leak, diagnostics: deadalloc.Report, pub fn exitCode(self: ProcessAllocatorFinish) u8 { return switch (self) { .clean => 0, .leak, .diagnostics => 1, }; } pub fn diagnosticReport(self: ProcessAllocatorFinish) ?deadalloc.Report { return switch (self) { .diagnostics => |report| report, .clean, .leak => null, }; }};Source: lib/alloc/src/root.zig:66
zig
pub const ProcessAllocatorFinish = owner.ProcessAllocatorFinish;Audit
| Definitions | 3 |
|---|---|
| Public names | 3 |
| Members | 3 |
| Version | 26.7.0 |
| Revision | daab053ee433 |