Fixed errors from previous commit.

Also in previous commit also fixed warning with unsigned vs signed
comparison
This commit is contained in:
Artem Serebriyskiy 2014-04-23 01:48:10 +04:00
commit c1ca144ed2
2 changed files with 2 additions and 2 deletions

View file

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

View file

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