Spaces:
Runtime error
Runtime error
| extern "C" { | |
| /* OrderedDict */ | |
| /* This API is optional and mostly redundant. */ | |
| typedef struct _odictobject PyODictObject; | |
| PyAPI_DATA(PyTypeObject) PyODict_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictIter_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictKeys_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictItems_Type; | |
| PyAPI_DATA(PyTypeObject) PyODictValues_Type; | |
| PyAPI_FUNC(PyObject *) PyODict_New(void); | |
| PyAPI_FUNC(int) PyODict_SetItem(PyObject *od, PyObject *key, PyObject *item); | |
| PyAPI_FUNC(int) PyODict_DelItem(PyObject *od, PyObject *key); | |
| /* wrappers around PyDict* functions */ | |
| } | |