Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
void 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
21
int main() {
22
atexit(myatexit);
Callers
1
doCallback
Function · 0.50
Calls
2
printf
Function · 0.85
assert
Function · 0.50
Tested by
no test coverage detected