fix extra ';'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ab5fe1a4a5
commit
d480e004ff
1 changed files with 2 additions and 2 deletions
|
|
@ -1373,11 +1373,11 @@ public:
|
|||
if (allow_thread) thread_end_block(n, f->code);
|
||||
|
||||
if (GetFlag(n,"feature:python:maybecall")) {
|
||||
Printf(f->code,"fail:;\n");
|
||||
Printf(f->code,"fail:\n");
|
||||
Printf(f->code,"Py_INCREF(Py_NotImplemented);\n");
|
||||
Printf(f->code,"return Py_NotImplemented;\n");
|
||||
} else {
|
||||
Printf(f->code,"fail:;\n");
|
||||
Printf(f->code,"fail:\n");
|
||||
Printf(f->code,"SWIG_SetErrorMsg(PyExc_NotImplementedError,\"No matching function for overloaded '%s'\");\n", symname);
|
||||
Printf(f->code,"return NULL;\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue