comparison include/SDL_error.h @ 4867:ba7492f9e2b8

While you can actually write to the error buffer, conceptually it's read-only.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 29 Aug 2010 12:00:09 -0700
parents f7b03b6838cb
children 2ee8112bfc6b
comparison
equal deleted inserted replaced
4866:f42e8db53f78 4867:ba7492f9e2b8
39 /* *INDENT-ON* */ 39 /* *INDENT-ON* */
40 #endif 40 #endif
41 41
42 /* Public functions */ 42 /* Public functions */
43 extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...); 43 extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...);
44 extern DECLSPEC char *SDLCALL SDL_GetError(void); 44 extern DECLSPEC const char *SDLCALL SDL_GetError(void);
45 extern DECLSPEC void SDLCALL SDL_ClearError(void); 45 extern DECLSPEC void SDLCALL SDL_ClearError(void);
46 46
47 /** 47 /**
48 * \name Internal error functions 48 * \name Internal error functions
49 * 49 *