Go to the documentation of this file.
74 return (PyObject *)wrapper;
78 return (left->
arch < right->
arch ? -1 : (left->
arch == right->
arch ? 0 : 1));
87 Py_INCREF(Py_NotImplemented);
88 return Py_NotImplemented;
112 return PyBool_FromLong(
result);
121 { NULL, NULL, NULL, NULL, NULL }
126 { NULL, NULL, 0, NULL }
133 PyObject_HashNotImplemented,
134 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
135 "Crossfire archetypes",
static const char * Archetype
sstring cf_archetype_get_name(archetype *arch)
object * cf_create_object_by_name(const char *name)
static PyObject * Crossfire_Archetype_GetName(Crossfire_Archetype *whoptr, void *closure)
static PyObject * Crossfire_Archetype_GetClone(Crossfire_Archetype *who, void *closure)
CF_PYTHON_OBJECT(Archetype, NULL, NULL, PyObject_HashNotImplemented, Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, "Crossfire archetypes",(richcmpfunc) Crossfire_Archetype_RichCompare, ArchetypeMethods, Archetype_getseters, NULL, NULL)
static PyObject * Crossfire_Archetype_RichCompare(Crossfire_Archetype *left, Crossfire_Archetype *right, int op)
object * cf_archetype_get_clone(archetype *arch)
PyObject * Crossfire_Object_wrap(object *what)
archetype * cf_archetype_get_more(archetype *arch)
PyObject_HEAD archetype * arch
static PyObject * Crossfire_Archetype_GetNewObject(Crossfire_Archetype *who, PyObject *args)
static PyObject * Crossfire_Archetype_GetHead(Crossfire_Archetype *who, void *closure)
static PyObject * Crossfire_Archetype_GetMore(Crossfire_Archetype *who, void *closure)
PyObject * Crossfire_Archetype_wrap(archetype *what)
archetype * cf_archetype_get_next(archetype *arch)
static PyObject * Crossfire_Archetype_GetNext(Crossfire_Archetype *who, void *closure)
static PyGetSetDef Archetype_getseters[]
PyTypeObject Crossfire_ArchetypeType
static int Crossfire_Archetype_InternalCompare(Crossfire_Archetype *left, Crossfire_Archetype *right)
static PyMethodDef ArchetypeMethods[]
archetype * cf_archetype_get_head(archetype *arch)