mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-41078: Add pycore_list.h internal header file (GH-21057)
* Move _PyList_ITEMS() to pycore_list.h. * The C extension "_heapq" is now built with Py_BUILD_CORE_MODULE macro defined to access the internal C API.
This commit is contained in:
parent
384621c42f
commit
c45dbe93b7
8 changed files with 31 additions and 4 deletions
|
@ -7,9 +7,11 @@ annotated by François Pinard, and converted to C by Raymond Hettinger.
|
|||
*/
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_list.h" // _PyList_ITEMS()
|
||||
|
||||
#include "clinic/_heapqmodule.c.h"
|
||||
|
||||
|
||||
/*[clinic input]
|
||||
module _heapq
|
||||
[clinic start generated code]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue