summaryrefslogtreecommitdiff
path: root/Include/sysmodule.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-08-14 22:21:18 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-08-14 22:21:18 +0300
commit547d3bc3a6aea38668a385afd6bbb1e32f25ac65 (patch)
treeb7b6b7cf7330371236e64b20125bc5cb0161bc44 /Include/sysmodule.h
parent143fe05da17da2d04dfeb587730fe5e71a9f4097 (diff)
downloadcpython-git-547d3bc3a6aea38668a385afd6bbb1e32f25ac65.tar.gz
Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r--Include/sysmodule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h
index 79e52a365f..652c1e828d 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