Fix wrong type.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Leif Middelschulte 2012-08-10 14:49:49 +00:00
commit 8538e6c1db

View file

@ -1312,8 +1312,7 @@ ready:
Setattr(parms, "c:objstruct", "1");
if (!Getattr(parms, "lname"))
Setattr(parms, "lname", "arg1");
//SwigType *stype = Copy(Getattr(Swig_methodclass(n), "sym:name"));
SwigType *stype = getProxyName(Getattr(n, "type"));
SwigType *stype = Copy(Getattr(Swig_methodclass(n), "sym:name"));
SwigType_add_pointer(stype);
Setattr(parms, "c:stype", stype);
}