emmy.pipeConnect(pipeName: string): bool
| 63 | |
| 64 | // emmy.pipeConnect(pipeName: string): bool |
| 65 | int pipeConnect(lua_State* L) |
| 66 | { |
| 67 | luaL_checkstring(L, 1); |
| 68 | std::string err; |
| 69 | const auto pipeName = lua_tostring(L, 1); |
| 70 | const auto suc = EmmyFacade::Get().PipeConnect(L, pipeName, err); |
| 71 | lua_pushboolean(L, suc); |
| 72 | if (suc) return 1; |
| 73 | lua_pushstring(L, err.c_str()); |
| 74 | return 2; |
| 75 | } |
| 76 | |
| 77 | // emmy.breakHere(): bool |
| 78 | int breakHere(lua_State* L) |
nothing calls this directly
no test coverage detected