|
@@ -963,9 +963,11 @@ Type *luax_type(lua_State *L, int idx)
|
|
return Type::byName(luaL_checkstring(L, 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);
|
|
return lua_resume(L, nullptr, nargs);
|
|
#else
|
|
#else
|
|
return lua_resume(L, nargs);
|
|
return lua_resume(L, nargs);
|