MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / pipeConnect

Function pipeConnect

emmy_debugger/src/debugger/emmy_debugger_lib.cpp:65–75  ·  view source on GitHub ↗

emmy.pipeConnect(pipeName: string): bool

Source from the content-addressed store, hash-verified

63
64// emmy.pipeConnect(pipeName: string): bool
65int 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
78int breakHere(lua_State* L)

Callers

nothing calls this directly

Calls 3

PipeConnectMethod · 0.80
lua_pushbooleanFunction · 0.50
lua_pushstringFunction · 0.50

Tested by

no test coverage detected