Expand description
WebAssembly exports for the RuAnim core, without bindgen.
The host creates a Bridge with ruanim_new, copies a JSON command line into memory from
ruanim_buffer, runs it with ruanim_run and reads the answer at ruanim_output. The frame
loop needs no JSON: ruanim_frame, ruanim_scroll and ruanim_values read numbers directly.
Structsยง
- Bridge
- One world plus the text of its last answer, owned by the host through a pointer.