uniform the name_get/name_set names

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-25 13:18:43 +00:00
commit 61e61a35ed
4 changed files with 17 additions and 13 deletions

View file

@ -220,7 +220,7 @@ Swig_name_get(const String_or_char *vname) {
Append(r,f);
}
Replace(r,"%v",vname, DOH_REPLACE_ANY);
Replace(r,"::","_", DOH_REPLACE_ANY);
name_mangle(r);
return r;
}
@ -244,7 +244,7 @@ Swig_name_set(const String_or_char *vname) {
Append(r,f);
}
Replace(r,"%v",vname, DOH_REPLACE_ANY);
Replace(r,"::","_", DOH_REPLACE_ANY);
name_mangle(r);
return r;
}