]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30054: Expose tracemalloc C API (#1236)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 20 Jun 2017 15:46:36 +0000 (17:46 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Jun 2017 15:46:36 +0000 (17:46 +0200)
commit5ea4c0677389ead2eee759958694cff2c65834a7
tree90e13f3ef6da418c459de164cb7f21e9ab70a1c9
parent26cb4657bcc9a7adffa95798ececb588dddfeadb
bpo-30054: Expose tracemalloc C API (#1236)

* Make PyTraceMalloc_Track() and PyTraceMalloc_Untrack() functions
  public (remove the "_" prefix)
* Remove the _PyTraceMalloc_domain_t type: use directly unsigned
  int.
* Document methods

Note: methods are already tested in test_tracemalloc.
Doc/c-api/memory.rst
Doc/library/tracemalloc.rst
Include/pymem.h
Modules/_testcapimodule.c
Modules/_tracemalloc.c