Skip to documentation
SLOP

tiny.mprompt.resumeDrop

Reference tiny.mprompt resumeDrop

Defined in tiny.mprompt.

Gives up the handle without resuming, for a caller that abandons suspended code it will not continue.

Called byCallsNo direct callersprivate sourcelib.mprompt.src.promptmresumeDropprivate sourcelib.mprompt.src.promptpromptDropprivate sourcelib.mprompt.src.promptresumeIsMultiprivate sourcelib.mprompt.src.promptresumeIsOncetiny.mpromptresumeDrop
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/mprompt/src/prompt.zig:613

zig
/// Gives up the handle without resuming, for a caller that abandons suspended code it will not/// continue. For a one-shot handle, or the last reference of a multi-shot handle, the call frees/// the stacklets captured with it, and their frames never run again, `defer` statements included.pub fn resumeDrop(resume_ptr: *Resume) void {    if (resumeIsOnce(resume_ptr)) |p| {        @branchHint(.likely);        promptDrop(p);        return;    } else {        @branchHint(.unlikely);        mresumeDrop(resumeIsMulti(resume_ptr).?);    }}

Source: lib/mprompt/src/root.zig:88

zig
pub const resumeDrop = raw.resumeDrop;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433