hedgewars/SDLh.pas
changeset 154 5667e6f38704
parent 109 ab0340f580c2
child 174 0b2c5b22f644
--- a/hedgewars/SDLh.pas	Mon Sep 18 18:07:41 2006 +0000
+++ b/hedgewars/SDLh.pas	Wed Sep 20 15:33:47 2006 +0000
@@ -372,6 +372,10 @@
 function SDLNet_AddSocket(_set: PSDLNet_SocketSet; sock: PTCPSocket): LongInt; cdecl; external SDL_NetLibName;
 function SDLNet_CheckSockets(_set: PSDLNet_SocketSet; timeout: LongInt): LongInt; cdecl; external SDL_NetLibName;
 
+procedure SDLNet_Write16(value: SmallInt; buf: pointer); cdecl; external SDL_NetLibName;
+procedure SDLNet_Write32(value: LongInt; buf: pointer); cdecl; external SDL_NetLibName;
+function SDLNet_Read16(buf: pointer): SmallInt; cdecl; external SDL_NetLibName;
+function SDLNet_Read32(buf: pointer): LongInt; cdecl; external SDL_NetLibName;
 
 implementation