diff options
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r-- | Include/pyerrors.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index fa5634a..f06d38c 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -83,6 +83,9 @@ extern DL_IMPORT(PyObject *) PyErr_Format(PyObject *, const char *, ...) #ifdef MS_WINDOWS extern DL_IMPORT(PyObject *) PyErr_SetFromWindowsErrWithFilename(int, const char *); extern DL_IMPORT(PyObject *) PyErr_SetFromWindowsErr(int); +extern DL_IMPORT(PyObject *) PyErr_SetExcFromWindowsErrWithFilename( + PyObject *,int, const char *); +extern DL_IMPORT(PyObject *) PyErr_SetExcFromWindowsErr(PyObject *, int); #endif /* Export the old function so that the existing API remains available: */ |