Rev 8209 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8209 | Rev 9956 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | extern DECLSPEC char * SDL_GetError(void); |
41 | extern DECLSPEC char * SDL_GetError(void); |
42 | extern DECLSPEC void SDL_ClearError(void); |
42 | extern DECLSPEC void SDL_ClearError(void); |
Line 43... | Line 43... | ||
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 | #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) |
46 | typedef enum { |
47 | typedef enum { |
47 | SDL_ENOMEM, |
48 | SDL_ENOMEM, |
48 | SDL_EFREAD, |
49 | SDL_EFREAD, |
49 | SDL_EFWRITE, |
50 | SDL_EFWRITE, |
- | 51 | SDL_EFSEEK, |
|
50 | SDL_EFSEEK, |
52 | SDL_UNSUPPORTED, |
51 | SDL_LASTERROR |
53 | SDL_LASTERROR |
52 | } SDL_errorcode; |
54 | } SDL_errorcode; |