Skip to main content

Module runtime

Module runtime 

Source

Modules§

phase
Phase indices for ling_phase_add.

Structs§

Interpreter
UiTheme
Customizable colour palette for the vector UI toolkit (packed 0x00RRGGBB). ui_theme(...) sets it; every widget falls back to these and accepts a trailing r,g,b override.

Enums§

Value

Functions§

init_aot_runtime
Initialize the AOT/JIT runtime. Must be called before any AOT-compiled code. Creates a new interpreter instance for runtime function dispatch.
ling_phase_add
now_secs
Returns seconds since Unix epoch. On wasm32 uses js_sys::Date::now() (milliseconds / 1000); on native uses SystemTime.