From 547d3bc3a6aea38668a385afd6bbb1e32f25ac65 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 14 Aug 2014 22:21:18 +0300 Subject: Issue #22193: Added private function _PySys_GetSizeOf() needed to implement some __sizeof__() methods. --- Include/sysmodule.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Include/sysmodule.h') diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 79e52a365f..652c1e828d 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -33,6 +33,10 @@ PyAPI_FUNC(int) PySys_HasWarnOptions(void); PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); +#ifndef Py_LIMITED_API +PyAPI_DATA(size_t) _PySys_GetSizeOf(PyObject *); +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.1