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.
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
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |