--- a/hedgewars/SDLh.pas Tue Nov 10 22:18:06 2015 +0100
+++ b/hedgewars/SDLh.pas Tue Nov 10 22:37:54 2015 +0100
@@ -990,7 +990,10 @@
// SDL 2 clipboard functions
function SDL_HasClipboardText(): Boolean; cdecl; external SDLLibName;
+// returns nil if memory for clipboard contents copy couldn't be allocated
function SDL_GetClipboardText(): PChar; cdecl; external SDLLibName;
+// returns 0 on success or negative error number on failure
+function SDL_SetClipboardText(const text: PChar): LongInt; cdecl; external SDLLibName;
procedure SDLNet_Write16(value: Word; buf: Pointer);
procedure SDLNet_Write32(value: LongWord; buf: Pointer);