Issue #22193: Added private function _PySys_GetSizeOf() needed to implement

some __sizeof__() methods.
This commit is contained in:
Serhiy Storchaka 2014-08-14 22:22:35 +03:00
commit 121be0d64b
2 changed files with 44 additions and 32 deletions

View file

@ -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