diff options
author | Olly Betts <ojwbetts@gmail.com> | 2015-01-12 08:28:49 +1300 |
---|---|---|
committer | Olly Betts <ojwbetts@gmail.com> | 2015-01-12 08:28:49 +1300 |
commit | f6b84f414bc4911b7c2e8902fb83c23a0e4b9e6b (patch) | |
tree | 731ec9dae3877803e815d4a3c4c054575524cdfc | |
parent | 06e361dbf279e93a137b77e0c1b0d19afc0060ba (diff) | |
parent | 4e7af7db808c07ee4fad34e27fa93d639f2fdf26 (diff) | |
download | swig-f6b84f414bc4911b7c2e8902fb83c23a0e4b9e6b.tar.gz |
Merge pull request #303 from dertom95/master
[lua/luarun] change return type to void on functions not returning anything
-rw-r--r-- | Lib/lua/luarun.swg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index 8803c66f6..d9124887d 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -1161,7 +1161,7 @@ SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L,swig_lua_class *clss) #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* Merges two tables */ -SWIGINTERN int SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source) +SWIGINTERN void SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source) { /* iterating */ lua_pushnil(L); @@ -1177,7 +1177,7 @@ SWIGINTERN int SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int sour } /* Merges two tables with given name. original - index of target metatable, base - index of source metatable */ -SWIGINTERN int SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base) +SWIGINTERN void SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base) { /* push original[name], then base[name] */ lua_pushstring(L,name); @@ -1192,7 +1192,7 @@ SWIGINTERN int SWIG_Lua_merge_tables(lua_State *L, const char* name, int origina } /* Function takes all symbols from base and adds it to derived class. It's just a helper. */ -SWIGINTERN int SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls) +SWIGINTERN void SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls) { /* There is one parameter - original, i.e. 'derived' class metatable */ assert(lua_istable(L,-1)); @@ -1206,7 +1206,7 @@ SWIGINTERN int SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls } /* Function squashes all symbols from 'clss' bases into itself */ -SWIGINTERN int SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss) +SWIGINTERN void SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss) { int i; SWIG_Lua_get_class_metatable(L,clss->fqname); |