summaryrefslogtreecommitdiff
path: root/Doc/c-api/int.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/int.rst')
-rw-r--r--Doc/c-api/int.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/c-api/int.rst b/Doc/c-api/int.rst
index 526083b83b..94bf380ec3 100644
--- a/Doc/c-api/int.rst
+++ b/Doc/c-api/int.rst
@@ -120,3 +120,12 @@ Plain Integer Objects
Return the system's idea of the largest integer it can handle
(:const:`LONG_MAX`, as defined in the system header files).
+
+
+.. cfunction:: void PyInt_CompactFreeList(size_t *bc, size_t *bf, size_t *sum)
+
+ Compact the integer free list. *bc* is the number of allocated blocks before
+ blocks are freed, *bf* is the number of freed blocks and *sum* is the number
+ of remaining objects in the blocks.
+
+ .. versionadded:: 2.6