1 #ifndef Py_INTERNAL_STRUCTSEQ_H 2 #define Py_INTERNAL_STRUCTSEQ_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 12 /* other API */ 13 14 PyAPI_FUNC(PyTypeObject *) _PyStructSequence_NewType( 15 PyStructSequence_Desc *desc, 16 unsigned long tp_flags); 17 18 PyAPI_FUNC(int) _PyStructSequence_InitType( 19 PyTypeObject *type, 20 PyStructSequence_Desc *desc, 21 unsigned long tp_flags); 22 23 extern void _PyStructSequence_FiniType(PyTypeObject *type); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 #endif /* !Py_INTERNAL_STRUCTSEQ_H */ 29