Skip to documentation
SLOP

tiny.mprompt.StartFn

Reference tiny.mprompt StartFn

Defined in tiny.mprompt.

Function type a new prompt runs first, with the C calling convention, so a caller passes one to prompt or promptEnter to run it on a prompt's stacklet.

No direct callersNo direct callstiny.mpromptStartFn
Static calls · unresolved targets: unknown · external targets: unknown.

Source

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

zig
/// Function type a new prompt runs first, with the C calling convention, so a caller passes one to/// `prompt` or `promptEnter` to run it on a prompt's stacklet. The function receives the prompt and/// the argument given to `prompt` or `promptEnter`. Its return value becomes the result of the call/// that entered or last resumed the prompt.pub const StartFn = *const fn (*Prompt, ?*anyopaque) callconv(.c) ?*anyopaque;

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

zig
pub const StartFn = raw.StartFn;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433