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§
Enums§
- Siglus
Native Message BoxKind - Button values follow SYSTEM.MESSAGEBOX_* VM semantics.
Functions§
- cstr_
opt ⚠ - Copy an optional C string, treating null or an empty string as absent.
- cstr_
required ⚠ - Copy a UTF-8 C string, returning an error for null or invalid UTF-8.
- default_
frame_ interval_ ms - parse_
bool_ exit
Type Aliases§
- Siglus
Native Message BoxCallback - Callback used by mobile hosts to show a native dialog on the platform UI thread.