diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2014-03-14 23:58:15 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2014-03-14 23:58:15 +0000 |
commit | 9c1bd797b9e20e24f52f3a48f645b92393f25b3e (patch) | |
tree | 315da2f2e6ef56f27a73553a7a3c143469ca1532 | |
parent | 8f967f334179ce1234419f244a8200528e3121da (diff) | |
download | swig-9c1bd797b9e20e24f52f3a48f645b92393f25b3e.tar.gz |
Fix missing return statements in Lua code
-rw-r--r-- | Lib/lua/luarun.swg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index 1d75ccb34..face9c6c9 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -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 */ |