Skip to main content

Module host

Module host 

Source
Expand description

Host-driven Siglus runtime entry points shared by desktop pump and mobile FFI.

This module deliberately keeps platform event-loop code out of the VM. A host owns the native event loop or view/surface and calls into this driver for one frame at a time. The VM semantics are the same proc-stack loop used by the desktop winit shell: script execution runs until an original-engine boundary asks to present a frame, wait for input, or wait for runtime work.

Structs§

SiglusHost
SiglusHostConfig

Enums§

SiglusNativeMessageBoxKind
Button values follow SYSTEM.MESSAGEBOX_* VM semantics.

Functions§

cstr_opt
cstr_required
default_frame_interval_ms
parse_bool_exit

Type Aliases§

SiglusNativeMessageBoxCallback
Callback used by mobile hosts to show a native dialog on the platform UI thread.