MCPcopy Create free account
hub / github.com/WebAssembly/wabt / wasm_rt_is_initialized

Function wasm_rt_is_initialized

wasm2c/wasm-rt-impl.c:293–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293bool wasm_rt_is_initialized(void) {
294#if WASM_RT_STACK_EXHAUSTION_HANDLER
295 if (!os_has_altstack_installed()) {
296 return false;
297 }
298#endif
299#if WASM_RT_INSTALL_SIGNAL_HANDLER
300 return g_signal_handler_installed;
301#else
302 return true;
303#endif
304}
305
306void wasm_rt_free(void) {
307 assert(wasm_rt_is_initialized());

Callers 3

wasm_rt_initFunction · 0.85
wasm_rt_freeFunction · 0.85
wasm2c_fac_instantiateFunction · 0.85

Calls 1

Tested by

no test coverage detected