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

Function meth_send

engine/script/src/luasocket/serial.c:91–94  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

89* Just call buffered IO methods
90\*-------------------------------------------------------------------------*/
91static int meth_send(lua_State *L) {
92 p_unix un = (p_unix) auxiliar_checkclass(L, "serial{client}", 1);
93 return buffer_meth_send(L, &un->buf);
94}
95
96static int meth_receive(lua_State *L) {
97 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