diff options
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pycore_sysmodule.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/internal/pycore_sysmodule.h b/Include/internal/pycore_sysmodule.h index aec9c20..9b8eafd 100644 --- a/Include/internal/pycore_sysmodule.h +++ b/Include/internal/pycore_sysmodule.h @@ -8,6 +8,12 @@ extern "C" { # error "this header requires Py_BUILD_CORE define" #endif +// Export for '_pickle' shared extension +PyAPI_FUNC(PyObject*) _PySys_GetAttr(PyThreadState *tstate, PyObject *name); + +// Export for '_pickle' shared extension +PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); + extern int _PySys_Audit( PyThreadState *tstate, const char *event, |