comparison include/SDL_main.h @ 1145:d31afac94eff

Patch from Martin Lange (mala-sdl at hotmail.com) to unregister SDL's win32 windowclass when shutting down the video subsystem...this allows you to safely unload/reload the SDL shared library on Windows between initializations. Discussion is here: http://www.devolution.com/pipermail/sdl/2005-February/067424.html
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 27 Sep 2005 09:00:42 +0000
parents b8d311d90021
children c9b51268668f
comparison
equal deleted inserted replaced
1144:509295d5a023 1145:d31afac94eff
67 67
68 /* This should be called from your WinMain() function, if any */ 68 /* This should be called from your WinMain() function, if any */
69 extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst); 69 extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
70 /* This can also be called, but is no longer necessary */ 70 /* This can also be called, but is no longer necessary */
71 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst); 71 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
72 72 /* This can also be called, but is no longer necessary (SDL_Quit calls it) */
73 extern DECLSPEC void SDLCALL SDL_UnregisterApp();
73 #ifdef __cplusplus 74 #ifdef __cplusplus
74 } 75 }
75 #endif 76 #endif
76 #include "close_code.h" 77 #include "close_code.h"
77 #endif 78 #endif