mirror of
https://github.com/love2d/love.git
synced 2026-08-19 20:19:42 +02:00
Remove functions that were deprecated in LÖVE 11.
--HG-- branch : minor
This commit is contained in:
@@ -601,14 +601,6 @@ int w_Source_getType(lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Deprecated
|
||||
|
||||
int w_Source_getChannels(lua_State *L)
|
||||
{
|
||||
luax_markdeprecated(L, "Source:getChannels", API_METHOD, DEPRECATED_RENAMED, "Source:getChannelCount");
|
||||
return w_Source_getChannelCount(L);
|
||||
}
|
||||
|
||||
static const luaL_Reg w_Source_functions[] =
|
||||
{
|
||||
{ "clone", w_Source_clone },
|
||||
@@ -662,9 +654,6 @@ static const luaL_Reg w_Source_functions[] =
|
||||
|
||||
{ "getType", w_Source_getType },
|
||||
|
||||
// Deprecated
|
||||
{ "getChannels", w_Source_getChannels },
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user