aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Modules/_testinternalcapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_testinternalcapi.c')
-rw-r--r--Modules/_testinternalcapi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c
index b6792e38fa9..922672d1a9f 100644
--- a/Modules/_testinternalcapi.c
+++ b/Modules/_testinternalcapi.c
@@ -1552,6 +1552,11 @@ module_exec(PyObject *module)
return 1;
}
+ if (PyModule_Add(module, "SIZEOF_PYOBJECT",
+ PyLong_FromSsize_t(sizeof(PyObject))) < 0) {
+ return 1;
+ }
+
if (PyModule_Add(module, "SIZEOF_TIME_T",
PyLong_FromSsize_t(sizeof(time_t))) < 0) {
return 1;