pycore_tupleobject.h 418 B

12345678910111213141516171819
  1. #ifndef Py_INTERNAL_TUPLEOBJECT_H
  2. #define Py_INTERNAL_TUPLEOBJECT_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifndef Py_BUILD_CORE
  7. # error "this header requires Py_BUILD_CORE define"
  8. #endif
  9. #include "tupleobject.h"
  10. #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
  11. PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif /* !Py_INTERNAL_TUPLEOBJECT_H */