• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  #ifndef Py_INTERNAL_TUPLE_H
2  #define Py_INTERNAL_TUPLE_H
3  #ifdef __cplusplus
4  extern "C" {
5  #endif
6  
7  #ifndef Py_BUILD_CORE
8  #  error "this header requires Py_BUILD_CORE define"
9  #endif
10  
11  #include "tupleobject.h"   /* _PyTuple_CAST() */
12  
13  #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
14  
15  PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t);
16  
17  #ifdef __cplusplus
18  }
19  #endif
20  #endif   /* !Py_INTERNAL_TUPLE_H */
21