summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-04-19 12:33:43 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-04-19 12:33:43 (GMT)
commitaa2efcb0bcb80465cfa7114bb20d99c13be57f1c (patch)
treec9af5b98cf8d7803c1e86d6b9b7104a6a569a77a /Include/pyerrors.h
parente27b3608ef04daa5e27029c329ad426782c9670c (diff)
downloadcpython-aa2efcb0bcb80465cfa7114bb20d99c13be57f1c.zip
cpython-aa2efcb0bcb80465cfa7114bb20d99c13be57f1c.tar.gz
cpython-aa2efcb0bcb80465cfa7114bb20d99c13be57f1c.tar.bz2
Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.
Patch by Stefan Behnel.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 458420a..1b80ecf 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -82,6 +82,8 @@ PyAPI_FUNC(PyObject *) PyErr_Occurred(void);
PyAPI_FUNC(void) PyErr_Clear(void);
PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **);
PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *);
+PyAPI_FUNC(void) PyErr_GetExcInfo(PyObject **, PyObject **, PyObject **);
+PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *);
#if defined(__clang__) || \
(defined(__GNUC__) && \