Procházet zdrojové kódy

Add 'return' comment to SDL_ClearClipboardData

Sylvain před 2 roky
rodič
revize
ec90c2e26d
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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