Simpler names when using SwigType_manglestr for templates
The default template name is generated instead of one with the default template parameter. Used in various places such as the type system.
This commit is contained in:
parent
46f2778412
commit
e3ccabbd4d
1 changed files with 3 additions and 1 deletions
|
|
@ -1190,7 +1190,9 @@ static String *manglestr_default(const SwigType *s) {
|
|||
SwigType *type = ss;
|
||||
|
||||
if (SwigType_istemplate(ss)) {
|
||||
SwigType *ty = Swig_symbol_template_deftype(ss, 0);
|
||||
SwigType *dt = Swig_symbol_template_deftype(ss, 0);
|
||||
String *ty = Swig_symbol_type_qualify(dt, 0);
|
||||
Delete(dt);
|
||||
Delete(ss);
|
||||
ss = ty;
|
||||
type = ss;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue