MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / quit

Function quit

deps/SDL2/test/loopwavequeue.c:37–42  ·  view source on GitHub ↗

Call this instead of exit(), so we can clean up SDL: atexit() is evil. */

Source from the content-addressed store, hash-verified

35
36/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
37static void
38quit(int rc)
39{
40 SDL_Quit();
41 exit(rc);
42}
43
44static int done = 0;
45void

Callers 1

mainFunction · 0.70

Calls 1

SDL_QuitFunction · 0.85

Tested by

no test coverage detected