git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
00b1468091
commit
9dd763d4d3
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
Version 2.0.0 (in progress)
|
Version 2.0.0 (in progress)
|
||||||
============================
|
============================
|
||||||
|
|
||||||
|
2010-04-09: wsfulton
|
||||||
|
[Lua] Fix #2887254 and #2946032 - SWIG_Lua_typename using wrong stack index.
|
||||||
|
|
||||||
2010-04-03: wsfulton
|
2010-04-03: wsfulton
|
||||||
[Python] Fix exceptions being thrown with the -threads option based on patch from Arto Vuori.
|
[Python] Fix exceptions being thrown with the -threads option based on patch from Arto Vuori.
|
||||||
Fixes bug #2818499.
|
Fixes bug #2818499.
|
||||||
|
|
|
||||||
|
|
@ -661,7 +661,7 @@ SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
|
||||||
swig_lua_userdata* usr;
|
swig_lua_userdata* usr;
|
||||||
if (lua_isuserdata(L,tp))
|
if (lua_isuserdata(L,tp))
|
||||||
{
|
{
|
||||||
usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
|
usr=(swig_lua_userdata*)lua_touserdata(L,tp); /* get data */
|
||||||
if (usr && usr->type && usr->type->str)
|
if (usr && usr->type && usr->type->str)
|
||||||
return usr->type->str;
|
return usr->type->str;
|
||||||
return "userdata (unknown type)";
|
return "userdata (unknown type)";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue