Home
last modified time | relevance | path

Searched refs:Noddy (Results 1 – 5 of 5) 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()
56 Noddy *self; in Noddy_new()
58 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
81 Noddy_init(Noddy *self, PyObject *args, PyObject *kwds) in Noddy_init()
111 {"first", T_OBJECT_EX, offsetof(Noddy, first), 0,
113 {"last", T_OBJECT_EX, offsetof(Noddy, last), 0,
115 {"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()
47 Noddy_init(Noddy *self, PyObject *args, PyObject *kwds) in Noddy_init()
76 {"number", T_INT, offsetof(Noddy, number), 0,
82 Noddy_getfirst(Noddy *self, void *closure) in Noddy_getfirst()
89 Noddy_setfirst(Noddy *self, PyObject *value, void *closure) in Noddy_setfirst()
110 Noddy_getlast(Noddy *self, void *closure) in Noddy_getlast()
117 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()
47 Noddy_init(Noddy *self, PyObject *args, PyObject *kwds) in Noddy_init()
77 {"first", T_OBJECT_EX, offsetof(Noddy, first), 0,
79 {"last", T_OBJECT_EX, offsetof(Noddy, last), 0,
81 {"number", T_INT, offsetof(Noddy, number), 0,
87 Noddy_name(Noddy* self) in Noddy_name()
129 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
84 "noddy.Noddy", /*tp_name*/
103 "Noddy objects", /* tp_doc */
131 "noddy.Noddy", /* tp_name */
139 TypeError: cannot add type "noddy.Noddy" to string
143 the type is :class:`Noddy`, so we set the type name to :class:`noddy.Noddy`.
181 "Noddy objects", /* tp_doc */
187 For now, all we want to be able to do is to create new :class:`Noddy` objects.
210 This initializes the :class:`Noddy` type, filing in a number of members,
213 PyModule_AddObject(m, "Noddy", (PyObject *)&noddy_NoddyType);
[all …]
/external/python/cpython2/Doc/c-api/
Dgcsupport.rst146 my_traverse(Noddy *self, visitproc visit, void *arg)