diff 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
line wrap: on
line diff
--- a/include/SDL_main.h	Tue Sep 27 08:36:28 2005 +0000
+++ b/include/SDL_main.h	Tue Sep 27 09:00:42 2005 +0000
@@ -69,7 +69,8 @@
 extern DECLSPEC void SDLCALL SDL_SetModuleHandle(void *hInst);
 /* This can also be called, but is no longer necessary */
 extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, void *hInst);
-
+/* This can also be called, but is no longer necessary (SDL_Quit calls it) */
+extern DECLSPEC void SDLCALL SDL_UnregisterApp();
 #ifdef __cplusplus
 }
 #endif