From 5ad2a3ab0cd495d7e192080ea3dbc09a8215527a Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 21 Jan 2008 22:31:37 +0000 Subject: [PATCH] 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 --- Source/Modules/python.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/python.cxx b/Source/Modules/python.cxx index 71b5df9de..9de3ed5b8 100644 --- a/Source/Modules/python.cxx +++ b/Source/Modules/python.cxx @@ -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,"