Give copy constructor parameter a more appropriate name. Also there is no need to mangle it, the name appears in the proxy classes in java/c#, so better that it is nicely named.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-02-03 22:59:45 +00:00
commit d5f8b761fd

View file

@ -2008,7 +2008,7 @@ static void addCopyConstructor(Node *n)
if (!symname) {
symname = Copy(csymname);
}
Parm *p = NewParm(cc,"_swig_self");
Parm *p = NewParm(cc,"other");
Setattr(cn,"name",name);
Setattr(cn,"sym:name",symname);