diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-14 19:21:18 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-14 19:21:18 (GMT) |
commit | 547d3bc3a6aea38668a385afd6bbb1e32f25ac65 (patch) | |
tree | b7b6b7cf7330371236e64b20125bc5cb0161bc44 /Include | |
parent | 143fe05da17da2d04dfeb587730fe5e71a9f4097 (diff) | |
download | cpython-547d3bc3a6aea38668a385afd6bbb1e32f25ac65.zip cpython-547d3bc3a6aea38668a385afd6bbb1e32f25ac65.tar.gz cpython-547d3bc3a6aea38668a385afd6bbb1e32f25ac65.tar.bz2 |
Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/sysmodule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 79e52a3..652c1e8 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 |