fix template + global funcs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4794eeed45
commit
b4a5b5aced
1 changed files with 3 additions and 3 deletions
|
|
@ -330,14 +330,14 @@ Swig_cfunction_call(String_or_char *name, ParmList *parms) {
|
|||
*/
|
||||
if (SwigType_istemplate(name)) {
|
||||
String *prefix = Swig_scopename_prefix(nname);
|
||||
String *last = Swig_scopename_last(nname);
|
||||
if (!prefix || Len(prefix) == 0) {
|
||||
Printf(func,"%s(", last);
|
||||
Printf(func,"%s(", nname);
|
||||
} else {
|
||||
String *last = Swig_scopename_last(nname);
|
||||
Printf(func,"%s::SWIGTEMPLATEDISAMBIGUATOR %s(", prefix, last);
|
||||
Delete(last);
|
||||
}
|
||||
Delete(prefix);
|
||||
Delete(last);
|
||||
} else {
|
||||
Printf(func,"%s(", nname);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue