mirror of
https://github.com/encounter/SDL.git
synced 2025-12-18 01:15:24 +00:00
Added annotations to help code analysis tools
CR: Bruce Dawson
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user