mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Remove functions that were deprecated in LÖVE 11.
--HG-- branch : minor
This commit is contained in:
@@ -121,12 +121,6 @@ int w_SoundData_getSample(lua_State *L)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int w_SoundData_getChannels(lua_State *L)
|
||||
{
|
||||
luax_markdeprecated(L, "SoundData:getChannels", API_METHOD, DEPRECATED_RENAMED, "SoundData:getChannelCount");
|
||||
return w_SoundData_getChannelCount(L);
|
||||
}
|
||||
|
||||
static const luaL_Reg w_SoundData_functions[] =
|
||||
{
|
||||
{ "clone", w_SoundData_clone },
|
||||
@@ -138,9 +132,6 @@ static const luaL_Reg w_SoundData_functions[] =
|
||||
{ "setSample", w_SoundData_setSample },
|
||||
{ "getSample", w_SoundData_getSample },
|
||||
|
||||
// Deprecated
|
||||
{ "getChannels", w_SoundData_getChannels },
|
||||
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user