aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2024-01-26 19:38:14 -0800
committerGitHub <noreply@github.com>2024-01-26 19:38:14 -0800
commit7a7bce5a0ab249407e866a1e955d21fa2b0c8506 (patch)
tree9bd0e6f23d545a1cae7b88ca32e087689fe697ed /Python/pymath.c
parent2d08af34b873d5e6b4df5082dfc30a37ef59c346 (diff)
downloadcpython-7a7bce5a0ab249407e866a1e955d21fa2b0c8506.tar.gz
cpython-7a7bce5a0ab249407e866a1e955d21fa2b0c8506.zip
gh-113055: Use pointer for interp->obmalloc state (gh-113412)
For interpreters that share state with the main interpreter, this points to the same static memory structure. For interpreters with their own obmalloc state, it is heap allocated. Add free_obmalloc_arenas() which will free the obmalloc arenas and radix tree structures for interpreters with their own obmalloc state. Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions