diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-11-15 11:22:27 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-11-15 11:22:27 (GMT) |
commit | 42826566f5da776c729f65f6b6ab425c738a8bfa (patch) | |
tree | 118bc5fb0e2f13aceca7579544d80c2dd8fe9a77 /Include | |
parent | 7aaa67eb0d53e4347d2022279d5f55be3da8afa2 (diff) | |
parent | 030e92d1a51c2caef0c23a74e65f0aaff002158f (diff) | |
download | cpython-42826566f5da776c729f65f6b6ab425c738a8bfa.zip cpython-42826566f5da776c729f65f6b6ab425c738a8bfa.tar.gz cpython-42826566f5da776c729f65f6b6ab425c738a8bfa.tar.bz2 |
Issue #22193: Fixed integer overflow error in sys.getsizeof().
Fixed an error in _PySys_GetSizeOf declaration.
Diffstat (limited to 'Include')
-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 |