Fix segfault of swig due to virtual methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e16672f90f
commit
4bc1223c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -1226,7 +1226,7 @@ ready:
|
|||
if (!Getattr(parms, "lname"))
|
||||
Setattr(parms, "lname", "arg1");
|
||||
//SwigType *stype = Copy(Getattr(Swig_methodclass(n), "sym:name"));
|
||||
SwigType *stype = Copy(getProxyName(parms));
|
||||
SwigType *stype = Copy(getProxyName(Swig_methodclass(n)));
|
||||
SwigType_add_pointer(stype);
|
||||
Setattr(parms, "c:stype", stype);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue