mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
@@ -109,9 +109,9 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetClipboardText(const char *text);
|
|||||||
* This function returns an empty string if there is not enough memory left
|
* This function returns an empty string if there is not enough memory left
|
||||||
* for a copy of the clipboard's content.
|
* for a copy of the clipboard's content.
|
||||||
*
|
*
|
||||||
* \returns the clipboard text on success, an empty string on failure or NULL
|
* \returns the clipboard text on success, an empty string on failure or NULL if out of memory; call
|
||||||
* if out of memory; call SDL_GetError() for more information. This
|
* SDL_GetError() for more information. This should be freed with
|
||||||
* should be freed with SDL_free() when it is no longer needed.
|
* SDL_free() when it is no longer needed.
|
||||||
*
|
*
|
||||||
* \threadsafety This function should only be called on the main thread.
|
* \threadsafety This function should only be called on the main thread.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user