18 struct Dtool_WrapperBase {
24 struct Dtool_SequenceWrapper {
25 Dtool_WrapperBase _base;
27 ssizeargfunc _getitem_func;
30 struct Dtool_MutableSequenceWrapper {
31 Dtool_WrapperBase _base;
33 ssizeargfunc _getitem_func;
34 ssizeobjargproc _setitem_func;
35 PyObject *(*_insert_func)(PyObject *, size_t, PyObject *);
38 struct Dtool_MappingWrapper {
40 Dtool_WrapperBase _base;
41 Dtool_SequenceWrapper _keys;
43 binaryfunc _getitem_func;
44 objobjargproc _setitem_func;
47 struct Dtool_GeneratorWrapper {
48 Dtool_WrapperBase _base;
49 iternextfunc _iternext_func;
52 EXPCL_PYPANDA Dtool_SequenceWrapper *Dtool_NewSequenceWrapper(PyObject *
self,
const char *name);
53 EXPCL_PYPANDA Dtool_MutableSequenceWrapper *Dtool_NewMutableSequenceWrapper(PyObject *
self,
const char *name);
54 EXPCL_PYPANDA Dtool_MappingWrapper *Dtool_NewMappingWrapper(PyObject *
self,
const char *name);
55 EXPCL_PYPANDA Dtool_MappingWrapper *Dtool_NewMutableMappingWrapper(PyObject *
self,
const char *name);
56 EXPCL_PYPANDA PyObject *Dtool_NewGenerator(PyObject *
self, iternextfunc func);
57 EXPCL_PYPANDA PyObject *Dtool_NewStaticProperty(PyTypeObject *obj,
const PyGetSetDef *getset);
61 #endif // PY_WRAPPERS_H