mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo
- Set Lua api version to 1.59
This commit is contained in:
@@ -4,4 +4,4 @@
|
|||||||
* to luainstance.h changes
|
* to luainstance.h changes
|
||||||
*/
|
*/
|
||||||
#define LUA_API_VERSION_MAJOR 1
|
#define LUA_API_VERSION_MAJOR 1
|
||||||
#define LUA_API_VERSION_MINOR 58
|
#define LUA_API_VERSION_MINOR 59
|
||||||
|
@@ -367,8 +367,7 @@ int CLuaInstMisc::MiscDelete(lua_State *L)
|
|||||||
deprecated functions
|
deprecated functions
|
||||||
--------------------------------------------------------------- */
|
--------------------------------------------------------------- */
|
||||||
|
|
||||||
//#define MISC_FUNC_DEPRECATED miscFunctionDeprecated
|
#define MISC_FUNC_DEPRECATED miscFunctionDeprecated
|
||||||
#define MISC_FUNC_DEPRECATED(...)
|
|
||||||
|
|
||||||
void CLuaInstMisc::miscFunctionDeprecated(lua_State *L, std::string oldFunc)
|
void CLuaInstMisc::miscFunctionDeprecated(lua_State *L, std::string oldFunc)
|
||||||
{
|
{
|
||||||
|
@@ -352,8 +352,7 @@ int CLuaInstVideo::VideoDelete(lua_State *L)
|
|||||||
deprecated functions
|
deprecated functions
|
||||||
--------------------------------------------------------------- */
|
--------------------------------------------------------------- */
|
||||||
|
|
||||||
//#define VIDEO_FUNC_DEPRECATED videoFunctionDeprecated
|
#define VIDEO_FUNC_DEPRECATED videoFunctionDeprecated
|
||||||
#define VIDEO_FUNC_DEPRECATED(...)
|
|
||||||
|
|
||||||
void CLuaInstVideo::videoFunctionDeprecated(lua_State *L, std::string oldFunc)
|
void CLuaInstVideo::videoFunctionDeprecated(lua_State *L, std::string oldFunc)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user