[python] Split potentially long string literals to avoid hitting
MSVC's low fixed limit on string literal length - patch from SF#1723770, also reported as SF#1630855. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b8c6a5c0d2
commit
cb4c23fde1
2 changed files with 6 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, " %s(%s)\\n", Getattr(sibl, "name"), ParmList_protostr(Getattr(sibl, "wrap:parms")));
|
||||
Printf(protoTypes, "\"\" %s(%s)\\n", Getattr(sibl, "name"), 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