mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Merge branch 'master' into 12.0-development
This commit is contained in:
@@ -1134,9 +1134,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);
|
||||
|
||||
@@ -709,7 +709,7 @@ int luax_catchexcept(lua_State *L, const T& func, const F& finallyfunc)
|
||||
* Compatibility shim for lua_resume
|
||||
* Exported because it's used in the launcher
|
||||
**/
|
||||
LOVE_EXPORT int luax_resume(lua_State *L, int nargs);
|
||||
LOVE_EXPORT int luax_resume(lua_State *L, int nargs, int* nres);
|
||||
|
||||
} // love
|
||||
|
||||
|
||||
Reference in New Issue
Block a user