Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ print
Method
print
test/emscripten_api_browser_infloop.cpp:24–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void print() {
25
printf(
"waka %d\n"
, x++);
26
27
if (x == 7 || x < 0) {
28
emscripten_cancel_main_loop();
29
exit(x == 7 ? 0 : 1);
30
}
31
}
32
33
static void callback() {
34
instance->print();
Callers
1
callback
Method · 0.45
Calls
2
printf
Function · 0.85
exit
Function · 0.50
Tested by
no test coverage detected