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

Function meth_dirty

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

Source from the content-addressed store, hash-verified

110}
111
112static int meth_dirty(lua_State *L) {
113 p_unix un = (p_unix) auxiliar_checkgroup(L, "serial{any}", 1);
114 lua_pushboolean(L, !buffer_isempty(&un->buf));
115 return 1;
116}
117
118/*-------------------------------------------------------------------------*\
119* Closes socket used by object

Callers

nothing calls this directly

Calls 3

auxiliar_checkgroupFunction · 0.85
lua_pushbooleanFunction · 0.85
buffer_isemptyFunction · 0.85

Tested by

no test coverage detected