Use different output messages for deprecated methods versus functions.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-08-27 16:55:33 -03:00
parent 3128a127cf
commit fcd9f1526c
10 changed files with 43 additions and 20 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ int w_SoundData_getSample(lua_State *L)
int w_SoundData_getChannels(lua_State *L)
{
luax_markdeprecated(L, "SoundData:getChannels", DEPRECATED_RENAMED, "SoundData:getChannelCount");
luax_markdeprecated(L, "SoundData:getChannels", API_METHOD, DEPRECATED_RENAMED, "SoundData:getChannelCount");
return w_SoundData_getChannelCount(L);
}