diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-14 19:22:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-08-14 19:22:35 (GMT) |
commit | 121be0d64b48c558ff060f35cb7c059347aa870c (patch) | |
tree | f4c8f2d497bbb9190d8a6102a3eca0b139816e22 /Include | |
parent | 3714ab4c27799890375798c3e8b96cf2a409bd3e (diff) | |
parent | 547d3bc3a6aea38668a385afd6bbb1e32f25ac65 (diff) | |
download | cpython-121be0d64b48c558ff060f35cb7c059347aa870c.zip cpython-121be0d64b48c558ff060f35cb7c059347aa870c.tar.gz cpython-121be0d64b48c558ff060f35cb7c059347aa870c.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 |