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⚠
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§

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