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

Function meth_send

Plugins/UnLuaExtensions/LuaSocket/Source/src/unixstream.cpp:104–107  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

102* Just call buffered IO methods
103\*-------------------------------------------------------------------------*/
104static int meth_send(lua_State *L) {
105 p_unix un = (p_unix) auxiliar_checkclass(L, "unixstream{client}", 1);
106 return buffer_meth_send(L, &un->buf);
107}
108
109static int meth_receive(lua_State *L) {
110 p_unix un = (p_unix) auxiliar_checkclass(L, "unixstream{client}", 1);

Callers

nothing calls this directly

Calls 2

auxiliar_checkclassFunction · 0.85
buffer_meth_sendFunction · 0.85

Tested by

no test coverage detected