mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-41078: Rename pycore_tupleobject.h to pycore_tuple.h (GH-21056)
This commit is contained in:
parent
9e27bc0c1e
commit
384621c42f
17 changed files with 51 additions and 52 deletions
20
Include/internal/pycore_tuple.h
Normal file
20
Include/internal/pycore_tuple.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef Py_INTERNAL_TUPLE_H
|
||||
#define Py_INTERNAL_TUPLE_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef Py_BUILD_CORE
|
||||
# error "this header requires Py_BUILD_CORE define"
|
||||
#endif
|
||||
|
||||
#include "tupleobject.h" /* _PyTuple_CAST() */
|
||||
|
||||
#define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* !Py_INTERNAL_TUPLE_H */
|
Loading…
Add table
Add a link
Reference in a new issue