mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
make love lua 5.4 conform
This commit is contained in:
@@ -963,9 +963,11 @@ Type *luax_type(lua_State *L, int idx)
|
||||
return Type::byName(luaL_checkstring(L, idx));
|
||||
}
|
||||
|
||||
int luax_resume(lua_State *L, int nargs)
|
||||
int luax_resume(lua_State *L, int nargs, int* nres)
|
||||
{
|
||||
#if LUA_VERSION_NUM >= 502
|
||||
#if LUA_VERSION_NUM >= 504
|
||||
return lua_resume(L, nullptr, nargs, nres);
|
||||
#elif LUA_VERSION_NUM >= 502
|
||||
return lua_resume(L, nullptr, nargs);
|
||||
#else
|
||||
return lua_resume(L, nargs);
|
||||
|
||||
Reference in New Issue
Block a user