Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo

- Set Lua api version to 1.59


Origin commit data
------------------
Branch: ni/coolstream
Commit: b1ab3e2290
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2016-09-08 08:42:41 +02:00
parent 5fa17bbd95
commit 4c56d72f02
3 changed files with 3 additions and 5 deletions

View File

@@ -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

View File

@@ -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)
{ {

View File

@@ -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)
{ {