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

Function lua_pcallk_worker

emmy_hook/src/emmy_hook.windows.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79int lua_pcallk_worker(lua_State* L, int nargs, int nresults, int errfunc, lua_KContext ctx, lua_KFunction k)
80{
81 LPVOID lp;
82 LhBarrierGetCallback(&lp);
83 const auto pcallk = (_lua_pcallk)lp;
84 EmmyFacade::Get().Attach(L);
85 return pcallk(L, nargs, nresults, errfunc, ctx, k);
86}
87
88int lua_error_worker(lua_State* L)
89{

Callers

nothing calls this directly

Calls 2

LhBarrierGetCallbackFunction · 0.85
AttachMethod · 0.45

Tested by

no test coverage detected