mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-02 15:47:31 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -59,8 +59,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetClipboardText(const char *text);
|
|||||||
/**
|
/**
|
||||||
* Get UTF-8 text from the clipboard.
|
* Get UTF-8 text from the clipboard.
|
||||||
*
|
*
|
||||||
* This functions returns an empty string if there was not enough memory left for
|
* This functions returns an empty string if there was not enough memory left
|
||||||
* a copy of the clipboard's content.
|
* 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 or an empty string on failure; call
|
||||||
* SDL_GetError() for more information. This should be freed with
|
* SDL_GetError() for more information. This should be freed with
|
||||||
@@ -102,8 +102,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetPrimarySelectionText(const char *text);
|
|||||||
/**
|
/**
|
||||||
* Get UTF-8 text from the primary selection.
|
* Get UTF-8 text from the primary selection.
|
||||||
*
|
*
|
||||||
* This functions returns an empty string if there was not enough memory left for
|
* This functions returns an empty string if there was not enough memory left
|
||||||
* a copy of the primary selection's content.
|
* for a copy of the primary selection's content.
|
||||||
*
|
*
|
||||||
* \returns the primary selection text on success or an empty string on
|
* \returns the primary selection text on success or an empty string on
|
||||||
* failure; call SDL_GetError() for more information. This should be
|
* failure; call SDL_GetError() for more information. This should be
|
||||||
|
|||||||
Reference in New Issue
Block a user