Mercurial > sdl-ios-xcode
comparison include/SDL_rwops.h @ 3564:d264d99576c1
Add a dummy function if SDL doesn't have STDIO support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 15 Dec 2009 05:34:58 +0000 |
parents | d3baf5ac4e37 |
children | 701f54683b24 |
comparison
equal
deleted
inserted
replaced
3563:d3a8bb6a37c1 | 3564:d264d99576c1 |
---|---|
129 const char *mode); | 129 const char *mode); |
130 | 130 |
131 #ifdef HAVE_STDIO_H | 131 #ifdef HAVE_STDIO_H |
132 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp, | 132 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp, |
133 SDL_bool autoclose); | 133 SDL_bool autoclose); |
134 #else | |
135 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(void * fp, | |
136 SDL_bool autoclose); | |
134 #endif | 137 #endif |
135 | 138 |
136 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size); | 139 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size); |
137 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem, | 140 extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem, |
138 int size); | 141 int size); |