equal
deleted
inserted
replaced
35 #ifdef __cplusplus |
35 #ifdef __cplusplus |
36 extern "C" { |
36 extern "C" { |
37 #endif |
37 #endif |
38 |
38 |
39 /* Public functions */ |
39 /* Public functions */ |
40 extern DECLSPEC void SDL_SetError(const char *fmt, ...); |
40 extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...); |
41 extern DECLSPEC char * SDL_GetError(void); |
41 extern DECLSPEC char * SDLCALL SDL_GetError(void); |
42 extern DECLSPEC void SDL_ClearError(void); |
42 extern DECLSPEC void SDLCALL SDL_ClearError(void); |
43 |
43 |
44 /* Private error message function - used internally */ |
44 /* Private error message function - used internally */ |
45 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) |
45 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) |
46 typedef enum { |
46 typedef enum { |
47 SDL_ENOMEM, |
47 SDL_ENOMEM, |