Fix formatting of error messages for overloaded functions that use templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3ac369d8d0
commit
5ad2a3ab0c
1 changed files with 1 additions and 1 deletions
|
|
@ -1510,7 +1510,7 @@ public:
|
|||
sibl = Getattr(sibl, "sym:previousSibling"); // go all the way up
|
||||
String *protoTypes = NewString("");
|
||||
do {
|
||||
Printf(protoTypes, "\n\" %s(%s)\\n\"", Getattr(sibl, "name"), ParmList_protostr(Getattr(sibl, "wrap:parms")));
|
||||
Printf(protoTypes, "\n\" %s(%s)\\n\"", SwigType_str(Getattr(sibl, "name"), 0), ParmList_protostr(Getattr(sibl, "wrap:parms")));
|
||||
} while ((sibl = Getattr(sibl, "sym:nextSibling")));
|
||||
Append(f->code, "fail:\n");
|
||||
Printf(f->code, "SWIG_SetErrorMsg(PyExc_NotImplementedError,"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue