2021-05-03 15:50:24 +01:00
|
|
|
#ifndef Py_INTERNAL_STRUCTSEQ_H
|
|
|
|
#define Py_INTERNAL_STRUCTSEQ_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2021-12-09 12:59:26 -07:00
|
|
|
/* other API */
|
|
|
|
|
2022-01-21 03:30:20 +01:00
|
|
|
PyAPI_FUNC(PyTypeObject *) _PyStructSequence_NewType(
|
|
|
|
PyStructSequence_Desc *desc,
|
|
|
|
unsigned long tp_flags);
|
|
|
|
|
2021-05-03 15:50:24 +01:00
|
|
|
PyAPI_FUNC(int) _PyStructSequence_InitType(
|
|
|
|
PyTypeObject *type,
|
|
|
|
PyStructSequence_Desc *desc,
|
|
|
|
unsigned long tp_flags);
|
|
|
|
|
2022-01-21 03:30:20 +01:00
|
|
|
extern void _PyStructSequence_FiniType(PyTypeObject *type);
|
2021-05-03 15:50:24 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_STRUCTSEQ_H */
|