comparison include/SDL_syswm.h @ 337:9154ec9ca3d2

Explicitly specify the SDL API calling convention (C by default)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 11 Apr 2002 14:35:16 +0000
parents f6ffac90895c
children f9c5f135a8b9
comparison
equal deleted inserted replaced
336:745873ea091f 337:9154ec9ca3d2
151 * This function gives you custom hooks into the window manager information. 151 * This function gives you custom hooks into the window manager information.
152 * It fills the structure pointed to by 'info' with custom information and 152 * It fills the structure pointed to by 'info' with custom information and
153 * returns 1 if the function is implemented. If it's not implemented, or 153 * returns 1 if the function is implemented. If it's not implemented, or
154 * the version member of the 'info' structure is invalid, it returns 0. 154 * the version member of the 'info' structure is invalid, it returns 0.
155 */ 155 */
156 extern DECLSPEC int SDL_GetWMInfo(SDL_SysWMinfo *info); 156 extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo *info);
157 157
158 158
159 /* Ends C function definitions when using C++ */ 159 /* Ends C function definitions when using C++ */
160 #ifdef __cplusplus 160 #ifdef __cplusplus
161 } 161 }