Resolve template parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
32071e8690
commit
e21bd46420
2 changed files with 13 additions and 0 deletions
|
|
@ -954,7 +954,12 @@ SwigType *SwigType_typedef_qualified(const SwigType *t) {
|
|||
Iterator pi;
|
||||
Parm *p;
|
||||
List *parms;
|
||||
/*
|
||||
ty = Swig_symbol_template_deftype(e, current_symtab);
|
||||
*/
|
||||
String *dt = Swig_symbol_template_deftype(e, current_symtab);
|
||||
ty = Swig_symbol_type_qualify(dt, 0);
|
||||
Printf(stdout, "extra code: %s => %s\n", dt, ty);
|
||||
e = ty;
|
||||
parms = SwigType_parmlist(e);
|
||||
tprefix = SwigType_templateprefix(e);
|
||||
|
|
@ -1021,6 +1026,9 @@ SwigType *SwigType_typedef_qualified(const SwigType *t) {
|
|||
Delete(tprefix);
|
||||
Delete(qprefix);
|
||||
Delete(parms);
|
||||
/*
|
||||
Delete(dt);
|
||||
*/
|
||||
}
|
||||
Append(result, e);
|
||||
Delete(ty);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue