Added annotations to help code analysis tools

CR: Bruce Dawson
This commit is contained in:
Sam Lantinga committed 2014-06-04 10:56:56 -07:00
1 parent 529bcf6293
commit da6d9a9f2a
16 files changed
+134 -90

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ extern "C" {
/* Public functions */
/* SDL_SetError() unconditionally returns -1. */
extern DECLSPEC int SDLCALL SDL_SetError(const char *fmt, ...);
extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
extern DECLSPEC const char *SDLCALL SDL_GetError(void);
extern DECLSPEC void SDLCALL SDL_ClearError(void);