| 19 | } |
| 20 | |
| 21 | int ToLua::ZezeUpdate(lua_State* luaState) |
| 22 | { |
| 23 | LuaHelper lua(luaState); |
| 24 | Service* service = lua.ToObject<Service*>(-1); |
| 25 | service->Update(); |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | // connect(service, host, port, timeout) |
| 30 | int ToLua::ZezeConnect(lua_State* luaState) |