Fix missing return statements in Lua code
This commit is contained in:
parent
8f967f3341
commit
9c1bd797b9
1 changed files with 2 additions and 2 deletions
|
|
@ -643,7 +643,7 @@ SWIGINTERN void SWIG_Lua_add_namespace_classes(lua_State *L, swig_lua_namespace
|
|||
when function is called).
|
||||
Function always returns newly registered table on top of the stack.
|
||||
*/
|
||||
SWIGINTERN int SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg)
|
||||
SWIGINTERN void SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg)
|
||||
{
|
||||
/* 1 argument - table on the top of the stack */
|
||||
int begin = lua_gettop(L);
|
||||
|
|
@ -960,8 +960,8 @@ SWIGINTERN int SWIG_Lua_class_set(lua_State *L)
|
|||
lua_error(L);
|
||||
} else {
|
||||
assert(ret==0);
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* the class.destruct method called by the interpreter */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue