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

Function fatalError

deps/SDL2/Xcode-iOS/Demos/src/common.c:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void
32fatalError(const char *string)
33{
34 printf("%s: %s\n", string, SDL_GetError());
35 SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, string, SDL_GetError(), NULL);
36 exit(1);
37}
38
39static Uint64 prevTime = 0;
40

Callers 15

createCharacterMethod · 0.85
createHeightFieldMethod · 0.85
buildIglooTriMeshMethod · 0.85
detachMethod · 0.85
cookCarrotConvexMeshMethod · 0.85
throwBallMethod · 0.85
createSnowManMethod · 0.85
onInitMethod · 0.85
loadTerrainMethod · 0.85
createSubmarineMethod · 0.85
createSeamineMethod · 0.85
createDynamicActorsMethod · 0.85

Calls 2

SDL_GetErrorFunction · 0.85
SDL_ShowSimpleMessageBoxFunction · 0.85

Tested by

no test coverage detected