Mercurial > sdl-ios-xcode
view include/SDL_name.h @ 4226:dbdf8b108e31 SDL-1.2
Fixed bug #638
Philipp Nordhus 2008-11-05 13:56:33 PST
The Linux version of SDL_SYS_JoystickQuit() tries to free an invalid pointer
when the number of joysticks was reduced since the last call.
Reproduce: Connect two joysticks, call SDL_Init() and SDL_Quit(), then
disconnect one joystick and call the functions again.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 11:34:50 +0000 |
parents | d2d48e10f370 |
children |
line wrap: on
line source
#ifndef _SDLname_h_ #define _SDLname_h_ #if defined(__STDC__) || defined(__cplusplus) #define NeedFunctionPrototypes 1 #endif #define SDL_NAME(X) SDL_##X #endif /* _SDLname_h_ */