mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Remove functions that were deprecated in LÖVE 11.
--HG-- branch : minor
This commit is contained in:
@@ -106,12 +106,6 @@ int w_Decoder_seek(lua_State *L)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int w_Decoder_getChannels(lua_State *L)
|
||||
{
|
||||
luax_markdeprecated(L, "Decoder:getChannels", API_METHOD, DEPRECATED_RENAMED, "Decoder:getChannelCount");
|
||||
return w_Decoder_getChannelCount(L);
|
||||
}
|
||||
|
||||
static const luaL_Reg w_Decoder_functions[] =
|
||||
{
|
||||
{ "clone", w_Decoder_clone },
|
||||
@@ -122,9 +116,6 @@ static const luaL_Reg w_Decoder_functions[] =
|
||||
{ "decode", w_Decoder_decode },
|
||||
{ "seek", w_Decoder_seek },
|
||||
|
||||
// Deprecated
|
||||
{ "getChannels", w_Decoder_getChannels },
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user