Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pycore_structseq.h41 linesDownload Raw Back to internal
1#ifndef Py_INTERNAL_STRUCTSEQ_H2#define Py_INTERNAL_STRUCTSEQ_H3#ifdef __cplusplus4extern "C" {5#endif6 7#ifndef Py_BUILD_CORE8#  error "this header requires Py_BUILD_CORE define"9#endif10 11 12/* other API */13 14// Export for '_curses' shared extension15PyAPI_FUNC(PyTypeObject*) _PyStructSequence_NewType(16    PyStructSequence_Desc *desc,17    unsigned long tp_flags);18 19extern int _PyStructSequence_InitBuiltinWithFlags(20    PyInterpreterState *interp,21    PyTypeObject *type,22    PyStructSequence_Desc *desc,23    unsigned long tp_flags);24 25static inline int26_PyStructSequence_InitBuiltin(PyInterpreterState *interp,27                              PyTypeObject *type,28                              PyStructSequence_Desc *desc)29{30    return _PyStructSequence_InitBuiltinWithFlags(interp, type, desc, 0);31}32 33extern void _PyStructSequence_FiniBuiltin(34    PyInterpreterState *interp,35    PyTypeObject *type);36 37#ifdef __cplusplus38}39#endif40#endif /* !Py_INTERNAL_STRUCTSEQ_H */41 
codekingpro/portable-devtools · Team Ai