comparison include/SDL_error.h @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
comparison
equal deleted inserted replaced
1667:1fddae038bc8 1668:4da1ee79c9af
37 extern "C" { 37 extern "C" {
38 /* *INDENT-ON* */ 38 /* *INDENT-ON* */
39 #endif 39 #endif
40 40
41 /* Public functions */ 41 /* Public functions */
42 extern DECLSPEC void SDLCALL SDL_SetError (const char *fmt, ...); 42 extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...);
43 extern DECLSPEC char *SDLCALL SDL_GetError (void); 43 extern DECLSPEC char *SDLCALL SDL_GetError(void);
44 extern DECLSPEC void SDLCALL SDL_ClearError (void); 44 extern DECLSPEC void SDLCALL SDL_ClearError(void);
45 45
46 /* Private error message function - used internally */ 46 /* Private error message function - used internally */
47 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) 47 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM)
48 #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) 48 #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED)
49 typedef enum 49 typedef enum
53 SDL_EFWRITE, 53 SDL_EFWRITE,
54 SDL_EFSEEK, 54 SDL_EFSEEK,
55 SDL_UNSUPPORTED, 55 SDL_UNSUPPORTED,
56 SDL_LASTERROR 56 SDL_LASTERROR
57 } SDL_errorcode; 57 } SDL_errorcode;
58 extern DECLSPEC void SDLCALL SDL_Error (SDL_errorcode code); 58 extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code);
59 59
60 60
61 /* Ends C function definitions when using C++ */ 61 /* Ends C function definitions when using C++ */
62 #ifdef __cplusplus 62 #ifdef __cplusplus
63 /* *INDENT-OFF* */ 63 /* *INDENT-OFF* */