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

Function callback

test/core/test_emscripten_async_call.c:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void callback(void *arg) {
15 printf("callback\n");
16 doneCallback = true;
17 assert(arg == (void *)42);
18 // Runtime should exit after this callback returns
19}
20
21int main() {
22 atexit(myatexit);

Callers 1

doCallbackFunction · 0.50

Calls 2

printfFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected