equal
deleted
inserted
replaced
988 function SDLNet_AddSocket(_set: PSDLNet_SocketSet; sock: PTCPSocket): LongInt; cdecl; external SDL_NetLibName; |
988 function SDLNet_AddSocket(_set: PSDLNet_SocketSet; sock: PTCPSocket): LongInt; cdecl; external SDL_NetLibName; |
989 function SDLNet_CheckSockets(_set: PSDLNet_SocketSet; timeout: LongInt): LongInt; cdecl; external SDL_NetLibName; |
989 function SDLNet_CheckSockets(_set: PSDLNet_SocketSet; timeout: LongInt): LongInt; cdecl; external SDL_NetLibName; |
990 |
990 |
991 // SDL 2 clipboard functions |
991 // SDL 2 clipboard functions |
992 function SDL_HasClipboardText(): Boolean; cdecl; external SDLLibName; |
992 function SDL_HasClipboardText(): Boolean; cdecl; external SDLLibName; |
|
993 // returns nil if memory for clipboard contents copy couldn't be allocated |
993 function SDL_GetClipboardText(): PChar; cdecl; external SDLLibName; |
994 function SDL_GetClipboardText(): PChar; cdecl; external SDLLibName; |
|
995 // returns 0 on success or negative error number on failure |
|
996 function SDL_SetClipboardText(const text: PChar): LongInt; cdecl; external SDLLibName; |
994 |
997 |
995 procedure SDLNet_Write16(value: Word; buf: Pointer); |
998 procedure SDLNet_Write16(value: Word; buf: Pointer); |
996 procedure SDLNet_Write32(value: LongWord; buf: Pointer); |
999 procedure SDLNet_Write32(value: LongWord; buf: Pointer); |
997 function SDLNet_Read16(buf: Pointer): Word; |
1000 function SDLNet_Read16(buf: Pointer): Word; |
998 function SDLNet_Read32(buf: Pointer): LongWord; |
1001 function SDLNet_Read32(buf: Pointer): LongWord; |