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

some __sizeof__() methods.
This commit is contained in:
Serhiy Storchaka 2014-08-14 22:21:18 +03:00
parent 143fe05da1
commit 547d3bc3a6
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