Răsfoiți Sursa

Sync wiki -> headers

Ryan C. Gordon 1 an în urmă
părinte
comite
e5f2cea234
2 a modificat fișierele cu 10 adăugiri și 8 ștergeri
  1. 4 5
      include/SDL3/SDL_events.h
  2. 6 3
      include/SDL3/SDL_rwops.h

+ 4 - 5
include/SDL3/SDL_events.h

@@ -911,11 +911,10 @@ extern DECLSPEC SDL_bool SDLCALL SDL_WaitEventTimeout(SDL_Event *event, Sint32 t
 /**
  * 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:
- * SDL_EVENT_DROP_FILE
- * SDL_EVENT_DROP_TEXT
- * SDL_EVENT_SYSWM
- * SDL_EVENT_TEXT_EDITING
+ * 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: SDL_EVENT_DROP_FILE
+ * SDL_EVENT_DROP_TEXT SDL_EVENT_SYSWM SDL_EVENT_TEXT_EDITING
  *
  * It is safe, but not necessary, to call this function for other event types.
  *

+ 6 - 3
include/SDL3/SDL_rwops.h

@@ -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 fmt a printf() style format string
- * \param ... additional parameters matching % tokens in the `fmt` string, if any
- * \returns the number of bytes written, or 0 on error; call SDL_GetError() for more information.
+ * \param ... additional parameters matching % tokens in the `fmt` string, if
+ *            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.
  *
@@ -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 fmt a printf() style format string
  * \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.
  *