Restore lua 5.2/5.3 compatibility (fixes #1408)

This commit is contained in:
Bart van Strien
2018-05-03 20:04:16 +02:00
parent ee166ed806
commit fb793944e4
3 changed files with 16 additions and 1 deletions
+5
View File
@@ -676,6 +676,11 @@ int luax_catchexcept(lua_State *L, const T& func, const F& finallyfunc)
return 0;
}
/**
* Compatibility shim for lua_resume
**/
int luax_resume(lua_State *L, int nargs);
} // love
#endif // LOVE_RUNTIME_H