(Swig_name_copyconstructor): Use "copy" naming scheme, not "construct".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2006-01-30 18:03:45 +00:00
commit db5302d96d

View file

@ -304,7 +304,7 @@ Swig_name_copyconstructor(const String_or_char *classname) {
rclassname = SwigType_namestr(classname);
r = NewStringEmpty();
if (!naming_hash) naming_hash = NewHash();
f = HashGetAttr(naming_hash,k_construct);
f = HashGetAttr(naming_hash,k_copy);
if (!f) {
Append(r,"copy_%c");
} else {