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

Function argey

test/emscripten_api_browser.c:39–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void argey(void* arg) {
40 static int counter = 0;
41 assert((long)arg == 17);
42 counter++;
43 printf("argey: %d\n", counter);
44 if (counter == 5) {
45 emscripten_cancel_main_loop();
46 // The main loop is now done so its ok to run atexit handlers.
47 exit_ok = true;
48 exit(0);
49 }
50}
51
52void mainey() {
53 static int counter = 0;

Callers

nothing calls this directly

Calls 3

printfFunction · 0.85
assertFunction · 0.50
exitFunction · 0.50

Tested by

no test coverage detected