From ec90c2e26d64701c6565e7e1e3b2b15da1361e74 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Fri, 7 Jul 2023 10:24:14 +0200 Subject: [PATCH] Add 'return' comment to SDL_ClearClipboardData --- include/SDL3/SDL_clipboard.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL3/SDL_clipboard.h b/include/SDL3/SDL_clipboard.h index 454b47491d..e5979646ea 100644 --- a/include/SDL3/SDL_clipboard.h +++ b/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