std1.0.0-beta-7 SafeC docs

std :: gui::gui_web

Function std::gui_web_run

#include <std/gui/gui_web.h> source ยท definition

void gui_web_run(&GuiApp app)

Lets the JS glue drive 'app' from requestAnimationFrame: one app.pump(0) per frame until it returns 0. Returns at once. 'app' must stay alive (a static or heap object) after the caller returns.