1
// === Auto-generated preamble library stuff ===
3
//========================================
5
//========================================
7
function callRuntimeCallbacks(callbacks) {
8
while(callbacks.length > 0) {
9
var callback = callbacks.pop();
10
var func = callback.func;
11
if (typeof func === 'number') {
12
func = FUNCTION_TABLE[func];
14
func(callback.arg === undefined ? null : callback.arg);
18
var __ATINIT__ = []; // functions called during startup
20
function initRuntime() {
21
callRuntimeCallbacks(__ATINIT__);