2021-05-03 14:50:24 +00: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 19:59:26 +00:00
|
|
|
/* runtime lifecycle */
|
|
|
|
|
|
|
|
extern PyStatus _PyStructSequence_InitState(PyInterpreterState *);
|
|
|
|
|
|
|
|
|
|
|
|
/* other API */
|
|
|
|
|
2021-05-03 14:50:24 +00:00
|
|
|
PyAPI_FUNC(int) _PyStructSequence_InitType(
|
|
|
|
PyTypeObject *type,
|
|
|
|
PyStructSequence_Desc *desc,
|
|
|
|
unsigned long tp_flags);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_STRUCTSEQ_H */
|