Additional cleanup for SDL_RWprintf() (thanks @sezero!)

This commit is contained in:
Sam Lantinga committed 2023-11-04 20:47:08 -07:00
1 parent e5f2cea234
commit 2a1660ab51
2 files changed
+11 -5

No files matched your search

+1 -1
View File
@@ -518,7 +518,7 @@ extern DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context, const void *ptr,
* \sa SDL_RWseek
* \sa SDL_RWwrite
*/
extern DECLSPEC size_t SDLCALL SDL_RWprintf(SDL_RWops *context, SDL_PRINTF_FORMAT_STRING const char *fmt, ...);
extern DECLSPEC size_t SDLCALL SDL_RWprintf(SDL_RWops *context, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2);
/**
* Print to an SDL_RWops data stream.