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:
parent
a84787c273
commit
8538e6c1db
1 changed files with 1 additions and 2 deletions
|
|
@ -1312,8 +1312,7 @@ ready:
|
||||||
Setattr(parms, "c:objstruct", "1");
|
Setattr(parms, "c:objstruct", "1");
|
||||||
if (!Getattr(parms, "lname"))
|
if (!Getattr(parms, "lname"))
|
||||||
Setattr(parms, "lname", "arg1");
|
Setattr(parms, "lname", "arg1");
|
||||||
//SwigType *stype = Copy(Getattr(Swig_methodclass(n), "sym:name"));
|
SwigType *stype = Copy(Getattr(Swig_methodclass(n), "sym:name"));
|
||||||
SwigType *stype = getProxyName(Getattr(n, "type"));
|
|
||||||
SwigType_add_pointer(stype);
|
SwigType_add_pointer(stype);
|
||||||
Setattr(parms, "c:stype", stype);
|
Setattr(parms, "c:stype", stype);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue