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

Function progress

test/browser/test_sdl_touch.c:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25int got_up = 0;
26
27void progress() {
28 if (!got_down) printf("Hold down a finger to generate a touch down event.\n");
29 else if (!got_move) printf("Drag a finger to generate a touch move event.\n");
30 else if (!got_up) printf("Release a finger to generate a touch up event.\n");
31 else
32 {
33 emscripten_force_exit(0);
34 }
35}
36
37void loop() {
38 SDL_Event event;

Callers 2

loopFunction · 0.85
test_sdl_touch.cFile · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected