diff include/SDL_main.h @ 149:0e66fd980014

Fixed compile errors and added call to SDL_SetModuleHandle() in WinMain()
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Aug 2001 14:04:46 +0000
parents 29a638dc26db
children 83018110dce8
line wrap: on
line diff
--- a/include/SDL_main.h	Thu Aug 09 13:09:47 2001 +0000
+++ b/include/SDL_main.h	Thu Aug 09 14:04:46 2001 +0000
@@ -64,9 +64,9 @@
 #endif
 
 /* This should be called from your WinMain() function, if any */
-extern DECLSPEC void SDL_SetModuleHandle(HMODULE hInst);
+extern DECLSPEC void SDL_SetModuleHandle(void *hInst);
 /* This can also be called, but is no longer necessary */
-extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst);
+extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
 
 #ifdef __cplusplus
 }