mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
luainstance: fix build with newer GCC
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
Origin commit data
------------------
Commit: e85f64d733
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-13 (Sun, 13 Dec 2015)
This commit is contained in:
committed by
Michael Liebmann
parent
4fad676f6d
commit
27699ff590
@@ -84,7 +84,7 @@ void functionDeprecated(lua_State *L, const char* oldFunc, const char* newFunc)
|
|||||||
ar.short_src, ar.currentline);
|
ar.short_src, ar.currentline);
|
||||||
}
|
}
|
||||||
|
|
||||||
lua_Unsigned checkMagicMask(lua_Unsigned &col)
|
lua_Unsigned checkMagicMask(lua_Unsigned col)
|
||||||
{
|
{
|
||||||
if ((col & MAGIC_MASK) == MAGIC_COLOR)
|
if ((col & MAGIC_MASK) == MAGIC_COLOR)
|
||||||
col = CFrameBuffer::getInstance()->realcolor[col & 0x000000ff];
|
col = CFrameBuffer::getInstance()->realcolor[col & 0x000000ff];
|
||||||
|
@@ -85,7 +85,7 @@ bool _luaL_checkbool(lua_State *L, int numArg);
|
|||||||
void paramBoolDeprecated(lua_State *L, const char* val);
|
void paramBoolDeprecated(lua_State *L, const char* val);
|
||||||
void paramDeprecated(lua_State *L, const char* oldParam, const char* newParam);
|
void paramDeprecated(lua_State *L, const char* oldParam, const char* newParam);
|
||||||
void functionDeprecated(lua_State *L, const char* oldFunc, const char* newFunc);
|
void functionDeprecated(lua_State *L, const char* oldFunc, const char* newFunc);
|
||||||
lua_Unsigned checkMagicMask(lua_Unsigned &col);
|
lua_Unsigned checkMagicMask(lua_Unsigned col);
|
||||||
|
|
||||||
bool tableLookup(lua_State*, const char*, std::string&);
|
bool tableLookup(lua_State*, const char*, std::string&);
|
||||||
bool tableLookup(lua_State*, const char*, lua_Integer&);
|
bool tableLookup(lua_State*, const char*, lua_Integer&);
|
||||||
|
Reference in New Issue
Block a user