MCPcopy Create free account
hub / github.com/Tencent/UnLua / io_init

Function io_init

Plugins/UnLuaExtensions/LuaSocket/Source/src/io.cpp:11–16  ·  view source on GitHub ↗

-------------------------------------------------------------------------*\ * Initializes C structure \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

9* Initializes C structure
10\*-------------------------------------------------------------------------*/
11void io_init(p_io io, p_send send, p_recv recv, p_error error, void *ctx) {
12 io->send = send;
13 io->recv = recv;
14 io->error = error;
15 io->ctx = ctx;
16}
17
18/*-------------------------------------------------------------------------*\
19* I/O error strings

Callers 7

global_createFunction · 0.85
meth_acceptFunction · 0.85
tcp_createFunction · 0.85
global_connectFunction · 0.85
global_createFunction · 0.85
meth_acceptFunction · 0.85
global_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected