summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-08-14 19:21:18 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-08-14 19:21:18 (GMT)
commit547d3bc3a6aea38668a385afd6bbb1e32f25ac65 (patch)
treeb7b6b7cf7330371236e64b20125bc5cb0161bc44 /Include
parent143fe05da17da2d04dfeb587730fe5e71a9f4097 (diff)
downloadcpython-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.h4
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