Consolidate name mangling functions
Swig_string_mangle => Swig_name_mangle_string Swig_name_mangle => Swig_name_mangle_string Swig_string_mangle_type => Swig_name_mangle_type
This commit is contained in:
parent
3364c18d06
commit
46f2778412
16 changed files with 194 additions and 210 deletions
|
|
@ -950,14 +950,14 @@ static String *expand_macro(String *name, List *args, String *line_file) {
|
|||
/* Non-standard mangle expansions.
|
||||
The #@Name is replaced by mangle_arg(Name). */
|
||||
if (strstr(Char(ns), "\004")) {
|
||||
String *marg = Swig_string_mangle(arg);
|
||||
String *marg = Swig_name_mangle_string(arg);
|
||||
Clear(temp);
|
||||
Printf(temp, "\004%s", aname);
|
||||
Replace(ns, temp, marg, DOH_REPLACE_ID_END);
|
||||
Delete(marg);
|
||||
}
|
||||
if (strstr(Char(ns), "\005")) {
|
||||
String *marg = Swig_string_mangle(arg);
|
||||
String *marg = Swig_name_mangle_string(arg);
|
||||
Clear(temp);
|
||||
Clear(tempa);
|
||||
Printf(temp, "\005%s", aname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue