Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo

- Set Lua api version to 1.59
This commit is contained in:
M. Liebmann
2016-09-08 08:42:41 +02:00
parent 80d1e9b6cf
commit b1ab3e2290
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)
{ {