mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-30 01:38:45 +00:00
Clarified SDL_GetClipboardText() documentation
Fixes https://github.com/libsdl-org/SDL/issues/14941
This commit is contained in:
parent
4743f97c39
commit
db573de24a
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetClipboardText(const char *text);
|
|||
* This function returns an empty string if there is not enough memory left
|
||||
* for a copy of the clipboard's content.
|
||||
*
|
||||
* \returns the clipboard text on success or an empty string on failure; call
|
||||
* \returns the clipboard text on success, an empty string on failure or NULL if out of memory; call
|
||||
* SDL_GetError() for more information. This should be freed with
|
||||
* SDL_free() when it is no longer needed.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue