CLuainstance: Use lua_Unsigned for color definitions

- Add additional tableLookup() for get lua_Unsigned
- Change tableLookup() for int to lua_Integer
This commit is contained in:
M. Liebmann
2014-07-16 23:34:04 +02:00
parent b8ed776a76
commit 0714c7f5ed
2 changed files with 72 additions and 30 deletions

View File

@@ -252,7 +252,8 @@ private:
static int CPictureDelete(lua_State *L);
static bool tableLookup(lua_State*, const char*, std::string&);
static bool tableLookup(lua_State*, const char*, int&);
static bool tableLookup(lua_State*, const char*, lua_Integer&);
static bool tableLookup(lua_State*, const char*, lua_Unsigned&);
static bool tableLookup(lua_State*, const char*, void**);
};