Procházet zdrojové kódy

Documented the return value of SDL_GetDateTimeLocalePreferences()

Sam Lantinga před 11 měsíci
rodič
revize
06a5d4d24f
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      include/SDL3/SDL_time.h

+ 2 - 0
include/SDL3/SDL_time.h

@@ -95,6 +95,8 @@ typedef enum SDL_TimeFormat
  *                   format, may be NULL
  * \param timeFormat a pointer to the SDL_TimeFormat to hold the returned time
  *                   format, may be NULL
+ * \returns 0 on success or -1 on error; call SDL_GetError() for more
+ *          information.
  *
  * \since This function is available since SDL 3.0.0.
  */