Fixed errors from previous commit.
Also in previous commit also fixed warning with unsigned vs signed comparison
This commit is contained in:
parent
8512bad8c2
commit
c1ca144ed2
2 changed files with 2 additions and 2 deletions
|
|
@ -1308,7 +1308,7 @@ SWIGINTERN void SWIG_Lua_class_register_instance(lua_State *L,swig_lua_class *c
|
|||
/* add it */
|
||||
lua_rawset(L,-3); /* metatable into registry */
|
||||
lua_pop(L,1); /* tidy stack (remove registry) */
|
||||
assert(lua_gettop(L)== begin);
|
||||
assert(lua_gettop(L) == begin);
|
||||
|
||||
#if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
|
||||
/* Now merge all symbols from .fn, .set, .get etc from bases to our tables */
|
||||
|
|
|
|||
|
|
@ -2023,7 +2023,7 @@ public:
|
|||
Printv(output, set_tab, NIL);
|
||||
}
|
||||
|
||||
// Euristic whether we need to print metatable or not.
|
||||
// Heuristic whether we need to print metatable or not.
|
||||
// For the sake of compiling with -Wall -Werror we don't print
|
||||
// metatable for static part.
|
||||
int need_metatable = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue