MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / init_with_api

Method init_with_api

test/test_fibers.cpp:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 int result = 0;
17
18 void init_with_api(em_arg_callback_func entry, void *arg) {
19 emscripten_fiber_init(&context, entry, arg, c_stack, sizeof(c_stack), asyncify_stack, sizeof(asyncify_stack));
20 }
21
22 void init_manually(em_arg_callback_func entry, void *arg) {
23 context.stack_base = c_stack + sizeof(c_stack);

Callers 1

mainFunction · 0.80

Calls 1

emscripten_fiber_initFunction · 0.85

Tested by

no test coverage detected