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

Function meth_send

Plugins/UnLuaExtensions/LuaSocket/Source/src/serial.cpp:76–79  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

74* Just call buffered IO methods
75\*-------------------------------------------------------------------------*/
76static int meth_send(lua_State *L) {
77 p_unix un = (p_unix) auxiliar_checkclass(L, "serial{client}", 1);
78 return buffer_meth_send(L, &un->buf);
79}
80
81static int meth_receive(lua_State *L) {
82 p_unix un = (p_unix) auxiliar_checkclass(L, "serial{client}", 1);

Callers

nothing calls this directly

Calls 2

auxiliar_checkclassFunction · 0.85
buffer_meth_sendFunction · 0.85

Tested by

no test coverage detected