comparison 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
comparison
equal deleted inserted replaced
148:8758b8d42cd9 149:0e66fd980014
62 #ifdef __cplusplus 62 #ifdef __cplusplus
63 extern "C" { 63 extern "C" {
64 #endif 64 #endif
65 65
66 /* This should be called from your WinMain() function, if any */ 66 /* This should be called from your WinMain() function, if any */
67 extern DECLSPEC void SDL_SetModuleHandle(HMODULE hInst); 67 extern DECLSPEC void SDL_SetModuleHandle(void *hInst);
68 /* This can also be called, but is no longer necessary */ 68 /* This can also be called, but is no longer necessary */
69 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, HMODULE hInst); 69 extern DECLSPEC int SDL_RegisterApp(char *name, Uint32 style, void *hInst);
70 70
71 #ifdef __cplusplus 71 #ifdef __cplusplus
72 } 72 }
73 #endif 73 #endif
74 #include "close_code.h" 74 #include "close_code.h"