1 #ifndef Py_INTERNAL_TUPLEOBJECT_H 2 #define Py_INTERNAL_TUPLEOBJECT_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 PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); 15 16 #ifdef __cplusplus 17 } 18 #endif 19 #endif /* !Py_INTERNAL_TUPLEOBJECT_H */ 20