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

Function lua_pcall_worker

emmy_hook/src/emmy_hook.windows.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70int lua_pcall_worker(lua_State* L, int nargs, int nresults, int errfunc)
71{
72 LPVOID lp;
73 LhBarrierGetCallback(&lp);
74 const auto pcall = (_lua_pcall)lp;
75 EmmyFacade::Get().Attach(L);
76 return pcall(L, nargs, nresults, errfunc);
77}
78
79int lua_pcallk_worker(lua_State* L, int nargs, int nresults, int errfunc, lua_KContext ctx, lua_KFunction k)
80{

Callers

nothing calls this directly

Calls 2

LhBarrierGetCallbackFunction · 0.85
AttachMethod · 0.45

Tested by

no test coverage detected