Преглед на файлове

Add 'return' comment to SDL_ClearClipboardData

Sylvain преди 2 години
родител
ревизия
ec90c2e26d
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      include/SDL3/SDL_clipboard.h

+ 3 - 0
include/SDL3/SDL_clipboard.h

@@ -197,6 +197,9 @@ extern DECLSPEC int SDLCALL SDL_SetClipboardData(SDL_ClipboardDataCallback callb
 /**
 /**
  * Clear the clipboard data
  * Clear the clipboard data
  *
  *
+ * \returns 0 on success or a negative error code on failure; 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.
  *
  *
  * \sa SDL_SetClipboardData
  * \sa SDL_SetClipboardData