Mercurial > sdl-ios-xcode
comparison include/SDL_compat.h @ 2037:6bb97f41ab4b
Fixed bug #329
On tracing it turns out to fail from SDL_WM_SetCaption()
On going through the function it looks like the SDL_free() function is called
every alternate time with an invalid pointer that has already been freed.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 23 Sep 2006 22:51:37 +0000 |
parents | 83946ee0ff1f |
children | adf732f1f016 |
comparison
equal
deleted
inserted
replaced
2036:12ef90a41631 | 2037:6bb97f41ab4b |
---|---|
145 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface); | 145 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface); |
146 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface * | 146 extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface * |
147 surface); | 147 surface); |
148 extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, | 148 extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title, |
149 const char *icon); | 149 const char *icon); |
150 extern DECLSPEC void SDLCALL SDL_WM_GetCaption(char **title, char **icon); | 150 extern DECLSPEC void SDLCALL SDL_WM_GetCaption(const char **title, const char **icon); |
151 extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask); | 151 extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask); |
152 extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void); | 152 extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void); |
153 extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface); | 153 extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface); |
154 extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode); | 154 extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode); |
155 extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags, | 155 extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags, |