diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-11-15 11:21:37 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-11-15 11:21:37 (GMT) |
commit | 030e92d1a51c2caef0c23a74e65f0aaff002158f (patch) | |
tree | 3c2c3398992dedd8137917ea47af73ca34f531b8 /Include/sysmodule.h | |
parent | ed7301031917a5f63ca2e9a7cccb6b18113ca27c (diff) | |
download | cpython-030e92d1a51c2caef0c23a74e65f0aaff002158f.zip cpython-030e92d1a51c2caef0c23a74e65f0aaff002158f.tar.gz cpython-030e92d1a51c2caef0c23a74e65f0aaff002158f.tar.bz2 |
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index 652c1e8..cde10ac 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -34,7 +34,7 @@ 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 *); +PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); #endif #ifdef __cplusplus |