add alias name for templates including full expanded type, including default template args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b4a5b5aced
commit
dec3a557de
1 changed files with 8 additions and 0 deletions
|
|
@ -1881,6 +1881,14 @@ SwigType_emit_type_table(File *f_forward, File *f_table) {
|
||||||
} else {
|
} else {
|
||||||
nt = NewStringf("%s|%s", rn, ln);
|
nt = NewStringf("%s|%s", rn, ln);
|
||||||
}
|
}
|
||||||
|
if (SwigType_istemplate(rt)) {
|
||||||
|
String *dt = Swig_symbol_template_deftype(rt, 0);
|
||||||
|
String *dn = SwigType_lstr(dt,0);
|
||||||
|
Printf(nt,"|%s",dn);
|
||||||
|
Delete(dt);
|
||||||
|
Delete(dn);
|
||||||
|
}
|
||||||
|
|
||||||
Printf(types, "\"%s\", \"%s\", 0, 0, (void*)%s, 0};\n", ki.item, nt, cd);
|
Printf(types, "\"%s\", \"%s\", 0, 0, (void*)%s, 0};\n", ki.item, nt, cd);
|
||||||
|
|
||||||
el = SwigType_equivalent_mangle(ki.item,0,0);
|
el = SwigType_equivalent_mangle(ki.item,0,0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue