diff options
author | Olly Betts <olly@survex.com> | 2022-10-19 07:29:06 +1300 |
---|---|---|
committer | Olly Betts <ojwbetts@gmail.com> | 2022-10-20 10:14:59 +1300 |
commit | a5bc48afeac0b33631b7aeb544e6a23d99b54bf8 (patch) | |
tree | f0e9212ac8d5830622d24a5376cf722e2d1d8a6e /Lib | |
parent | 867e49d7c50aded9afdd36223f05b84645636f15 (diff) | |
download | swig-a5bc48afeac0b33631b7aeb544e6a23d99b54bf8.tar.gz |
[Lua] Fix type resolution between SWIG-wrapped modules
See #2126
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lua/luarun.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg index 909a5229c..f47fd4fac 100644 --- a/Lib/lua/luarun.swg +++ b/Lib/lua/luarun.swg @@ -1789,7 +1789,7 @@ SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type } else { - cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */ + cast=SWIG_TypeCheck(usr->type->name,type); /* performs normal type checking */ if (cast) { int newmemory = 0; |