(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:
parent
97e99219a7
commit
db5302d96d
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ Swig_name_copyconstructor(const String_or_char *classname) {
|
||||||
rclassname = SwigType_namestr(classname);
|
rclassname = SwigType_namestr(classname);
|
||||||
r = NewStringEmpty();
|
r = NewStringEmpty();
|
||||||
if (!naming_hash) naming_hash = NewHash();
|
if (!naming_hash) naming_hash = NewHash();
|
||||||
f = HashGetAttr(naming_hash,k_construct);
|
f = HashGetAttr(naming_hash,k_copy);
|
||||||
if (!f) {
|
if (!f) {
|
||||||
Append(r,"copy_%c");
|
Append(r,"copy_%c");
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue