Skip to content

Commit

Permalink
Merge pull request #37 from CppCXY/master
Browse files Browse the repository at this point in the history
修复一个API错误
  • Loading branch information
CppCXY authored Mar 18, 2022
2 parents 1a5acd9 + 37243b1 commit 40f5739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emmy_debugger/src/api/lua_api_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ void lua_call(lua_State* L, int nargs, int nresults)
{
if (luaVersion > LuaVersion::LUA_51)
{
e_lua_callk(L, nargs, nresults, 0, nullptr);
return e_lua_callk(L, nargs, nresults, 0, nullptr);
}
e_lua_call(L, nargs, nresults);
return (void)e_lua_call(L, nargs, nresults);
}

int lua_pcall(lua_State* L, int nargs, int nresults, int errfunc)
Expand Down

0 comments on commit 40f5739

Please sign in to comment.