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

Function quit

deps/SDL2/test/loopwave.c:40–45  ·  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

38
39/* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
40static void
41quit(int rc)
42{
43 SDL_Quit();
44 exit(rc);
45}
46
47static void
48close_audio()

Callers 2

open_audioFunction · 0.70
mainFunction · 0.70

Calls 1

SDL_QuitFunction · 0.85

Tested by

no test coverage detected