Explorar o código

Add 'return' comment to SDL_ClearClipboardData

Sylvain %!s(int64=2) %!d(string=hai) anos
pai
achega
ec90c2e26d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
  *
+ * \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.
  *
  * \sa SDL_SetClipboardData