luasocket/src/io.c

9 lines
141 B
C
Raw Normal View History

2003-05-25 03:54:13 +02:00
#include "io.h"
void io_init(p_io io, p_send send, p_recv recv, void *ctx)
{
io->send = send;
io->recv = recv;
io->ctx = ctx;
}