diff options
Diffstat (limited to 'Include/warnings.h')
-rw-r--r-- | Include/warnings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/warnings.h b/Include/warnings.h index a3f83ff..25f715e 100644 --- a/Include/warnings.h +++ b/Include/warnings.h @@ -7,6 +7,9 @@ extern "C" { #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject*) _PyWarnings_Init(void); #endif +#ifdef Py_BUILD_CORE +PyAPI_FUNC(PyObject*) _PyWarnings_InitWithConfig(const _PyCoreConfig *config); +#endif PyAPI_FUNC(int) PyErr_WarnEx( PyObject *category, |