Mercurial > sdl-ios-xcode
view test/automated/rwops/TestSupportRWops.h @ 4526:c04dd942610d
Fixed bug #1000
Don't crash if someone tries to delete a context after we've unloaded the library. In this case it's SDL_compat that doesn't know SDL_VideoQuit() has been called. Hmm...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 14 Jul 2010 07:48:35 -0700 |
parents | 033c455bbe99 |
children |
line wrap: on
line source
#include <stdio.h> #include "SDL.h" #ifndef TestSupportRWops_h #define TestSupportRWops_h FILE* TestSupportRWops_OpenFPFromReadDir(const char *file, const char *mode); FILE* TestSupportRWops_OpenFPFromWriteDir(const char *file, const char *mode); SDL_RWops* TestSupportRWops_OpenRWopsFromReadDir(const char *file, const char *mode); SDL_RWops* TestSupportRWops_OpenRWopsFromWriteDir(const char *file, const char *mode); #endif