Debian Codegraph @

pypy/module/cpyext/include/dictobject.h

raw symbols SCIP
1
2 /* dict object interface */
3
4 #ifndef Py_DICTOBJECT_H
5 #define Py_DICTOBJECT_H
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 typedef struct {
11 PyObject_HEAD
12 PyObject *_tmpkeys; /* a private place to put keys during PyDict_Next */
13 } PyDictObject;
14
15 #define PyDict_Check(op) \
16 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
17 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
18 #define PyDict_GET_SIZE(op) PyObject_Length(op)
19
20 #ifdef __cplusplus
21 }
22 #endif
23 #endif /* !Py_DICTOBJECT_H */