deprecate love.window.close.

This commit is contained in:
Sasha Szpakowski
2024-02-12 20:06:55 -04:00
parent 25e008e20c
commit ec177d51d1
+1
View File
@@ -348,6 +348,7 @@ int w_isOpen(lua_State *L)
int w_close(lua_State *L)
{
luax_markdeprecated(L, 1, "love.window.close", API_FUNCTION, DEPRECATED_NO_REPLACEMENT, nullptr);
luax_catchexcept(L, [&]() { instance()->close(); });
return 0;
}