MCPcopy Create free account
hub / github.com/defold/defold / meth_send

Function meth_send

engine/script/src/luasocket/unix.c:110–113  ·  view source on GitHub ↗

=========================================================================*\ * Lua methods \*=========================================================================*/ -------------------------------------------------------------------------*\ * Just call buffered IO methods \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

108* Just call buffered IO methods
109\*-------------------------------------------------------------------------*/
110static int meth_send(lua_State *L) {
111 p_unix un = (p_unix) auxiliar_checkclass(L, "unix{client}", 1);
112 return buffer_meth_send(L, &un->buf);
113}
114
115static int meth_receive(lua_State *L) {
116 p_unix un = (p_unix) auxiliar_checkclass(L, "unix{client}", 1);

Callers

nothing calls this directly

Calls 2

auxiliar_checkclassFunction · 0.85
buffer_meth_sendFunction · 0.85

Tested by

no test coverage detected