Constness fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
539cea72a1
commit
035bb2c955
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ public:
|
|||
if (maybe_delimiter && Len(output) > 0 && Len(tm) > 0) {
|
||||
Printv(output, maybe_delimiter, NIL);
|
||||
}
|
||||
String *pn = (name == NULL) ? Getattr(p,"name") : name;
|
||||
const String *pn = (name == NULL) ? Getattr(p,"name") : name;
|
||||
String *pt = Getattr(p,"type");
|
||||
Replaceall(tm, "$name", pn); // legacy for $parmname
|
||||
Replaceall(tm, "$type", SwigType_str(pt,0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue