Sync wiki -> headers

main
Ryan C. Gordon 2023-11-04 22:18:38 -04:00
parent ad842dd5ad
commit e5f2cea234
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
2 changed files with 10 additions and 8 deletions

View File

@ -911,11 +911,10 @@ extern DECLSPEC SDL_bool SDLCALL SDL_WaitEventTimeout(SDL_Event *event, Sint32 t
/** /**
* Clean up dynamically allocated memory for an event. * Clean up dynamically allocated memory for an event.
* *
* Some events have dynamically allocated data that must be cleaned up when the event is processed. If you handle any of these events, you should call SDL_CleanupEvent() after processing them: * Some events have dynamically allocated data that must be cleaned up when
* SDL_EVENT_DROP_FILE * the event is processed. If you handle any of these events, you should call
* SDL_EVENT_DROP_TEXT * SDL_CleanupEvent() after processing them: SDL_EVENT_DROP_FILE
* SDL_EVENT_SYSWM * SDL_EVENT_DROP_TEXT SDL_EVENT_SYSWM SDL_EVENT_TEXT_EDITING
* SDL_EVENT_TEXT_EDITING
* *
* It is safe, but not necessary, to call this function for other event types. * It is safe, but not necessary, to call this function for other event types.
* *

View File

@ -503,8 +503,10 @@ extern DECLSPEC size_t SDLCALL SDL_RWwrite(SDL_RWops *context, const void *ptr,
* *
* \param context a pointer to an SDL_RWops structure * \param context a pointer to an SDL_RWops structure
* \param fmt a printf() style format string * \param fmt a printf() style format string
* \param ... additional parameters matching % tokens in the `fmt` string, if any * \param ... additional parameters matching % tokens in the `fmt` string, if
* \returns the number of bytes written, or 0 on error; call SDL_GetError() for more information. * any
* \returns the number of bytes written, or 0 on error; call SDL_GetError()
* for more information.
* *
* \since This function is available since SDL 3.0.0. * \since This function is available since SDL 3.0.0.
* *
@ -526,7 +528,8 @@ extern DECLSPEC size_t SDLCALL SDL_RWprintf(SDL_RWops *context, SDL_PRINTF_FORMA
* \param context a pointer to an SDL_RWops structure * \param context a pointer to an SDL_RWops structure
* \param fmt a printf() style format string * \param fmt a printf() style format string
* \param ap a variable argument list * \param ap a variable argument list
* \returns the number of bytes written, or 0 on error; call SDL_GetError() for more information. * \returns the number of bytes written, or 0 on error; call SDL_GetError()
* for more information.
* *
* \since This function is available since SDL 3.0.0. * \since This function is available since SDL 3.0.0.
* *