While you can actually write to the error buffer, conceptually it's read-only.

This commit is contained in:
Sam Lantinga
2010-08-29 12:00:09 -07:00
parent f0480c0501
commit 39db467ca6
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ extern "C" {
/* Public functions */
extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...);
extern DECLSPEC char *SDLCALL SDL_GetError(void);
extern DECLSPEC const char *SDLCALL SDL_GetError(void);
extern DECLSPEC void SDLCALL SDL_ClearError(void);
/**