summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/sendrecv.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:47:48 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-08-28 14:47:48 +0000
commitddd99c7e5d2f0f8e7364e8521fa7e8308999344e (patch)
tree3c0158d035a52c0cf185c08c3288c3c76d6718d0 /otherlibs/win32unix/sendrecv.c
parentc345611817d76ccc3bbd02db1f942774220739f9 (diff)
Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/sendrecv.c')
-rw-r--r--otherlibs/win32unix/sendrecv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/win32unix/sendrecv.c b/otherlibs/win32unix/sendrecv.c
index 6e56ccd17..d65bca590 100644
--- a/otherlibs/win32unix/sendrecv.c
+++ b/otherlibs/win32unix/sendrecv.c
@@ -22,7 +22,7 @@ static int msg_flag_table[] = {
MSG_OOB, MSG_DONTROUTE, MSG_PEEK
};
-value unix_recv(value sock, value buff, value ofs, value len, value flags)
+CAMLprim value unix_recv(value sock, value buff, value ofs, value len, value flags)
{
int ret;
long numbytes;
@@ -41,7 +41,7 @@ value unix_recv(value sock, value buff, value ofs, value len, value flags)
return Val_int(ret);
}
-value unix_recvfrom(value sock, value buff, value ofs, value len, value flags) /* ML */
+CAMLprim value unix_recvfrom(value sock, value buff, value ofs, value len, value flags)
{
int ret;
long numbytes;
@@ -71,7 +71,7 @@ value unix_recvfrom(value sock, value buff, value ofs, value len, value flags) /
return res;
}
-value unix_send(value sock, value buff, value ofs, value len, value flags) /* ML */
+CAMLprim value unix_send(value sock, value buff, value ofs, value len, value flags)
{
int ret;
long numbytes;
@@ -110,7 +110,7 @@ value unix_sendto_native(value sock, value buff, value ofs, value len, value fla
return Val_int(ret);
}
-value unix_sendto(argv, argc) /* ML */
+CAMLprim value unix_sendto(argv, argc)
value * argv;
int argc;
{