Home
last modified time | relevance | path

Searched refs:Noddy (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Doc/includes/
Dnoddy4.c9 } Noddy; typedef
12 Noddy_traverse(Noddy *self, visitproc visit, void *arg) in Noddy_traverse()
31 Noddy_clear(Noddy *self) in Noddy_clear()
47 Noddy_dealloc(Noddy* self) in Noddy_dealloc()
57 Noddy *self; in Noddy_new()
59 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
80 Noddy_init(Noddy *self, PyObject *args, PyObject *kwds) in Noddy_init()
110 {"first", T_OBJECT_EX, offsetof(Noddy, first), 0,
112 {"last", T_OBJECT_EX, offsetof(Noddy, last), 0,
114 {"number", T_INT, offsetof(Noddy, number), 0,
[all …]
Dnoddy3.c9 } Noddy; typedef
12 Noddy_dealloc(Noddy* self) in Noddy_dealloc()
22 Noddy *self; in Noddy_new()
24 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
45 Noddy_init(Noddy *self, PyObject *args, PyObject *kwds) in Noddy_init()
74 {"number", T_INT, offsetof(Noddy, number), 0,
80 Noddy_getfirst(Noddy *self, void *closure) in Noddy_getfirst()
87 Noddy_setfirst(Noddy *self, PyObject *value, void *closure) in Noddy_setfirst()
108 Noddy_getlast(Noddy *self, void *closure) in Noddy_getlast()
115 Noddy_setlast(Noddy *self, PyObject *value, void *closure) in Noddy_setlast()
[all …]
Dnoddy2.c9 } Noddy; typedef
12 Noddy_dealloc(Noddy* self) in Noddy_dealloc()
22 Noddy *self; in Noddy_new()
24 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
45 Noddy_init(Noddy *self, PyObject *args, PyObject *kwds) in Noddy_init()
75 {"first", T_OBJECT_EX, offsetof(Noddy, first), 0,
77 {"last", T_OBJECT_EX, offsetof(Noddy, last), 0,
79 {"number", T_INT, offsetof(Noddy, number), 0,
85 Noddy_name(Noddy* self) in Noddy_name()
126 sizeof(Noddy), /* tp_basicsize */
/external/python/cpython2/Doc/extending/
Dnewtypes.rst61 This is what a Noddy object will contain---in this case, nothing more than every
83 "noddy.Noddy", /* tp_name */
102 "Noddy objects", /* tp_doc */
123 "noddy.Noddy", /* tp_name */
131 TypeError: cannot add type "noddy.Noddy" to string
135 the type is :class:`Noddy`, so we set the type name to :class:`noddy.Noddy`.
173 "Noddy objects", /* tp_doc */
179 For now, all we want to be able to do is to create new :class:`Noddy` objects.
202 This initializes the :class:`Noddy` type, filing in a number of members,
205 PyModule_AddObject(m, "Noddy", (PyObject *)&noddy_NoddyType);
[all …]
/external/python/cpython2/Doc/c-api/
Dgcsupport.rst146 my_traverse(Noddy *self, visitproc visit, void *arg)
/external/python/cpython3/Doc/c-api/
Dgcsupport.rst157 my_traverse(Noddy *self, visitproc visit, void *arg)