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
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)
sstring cf_archetype_get_name(archetype *arch)
object * cf_create_object_by_name(const char *name)
PyObject * Crossfire_Object_wrap(object *what)
object * cf_archetype_get_clone(archetype *arch)
static PyGetSetDef Archetype_getseters[]
static PyObject * Crossfire_Archetype_GetClone(Crossfire_Archetype *who, void *closure)
archetype * cf_archetype_get_more(archetype *arch)
PyObject_HEAD archetype * arch
static PyObject * Crossfire_Archetype_GetMore(Crossfire_Archetype *who, void *closure)
static PyMethodDef ArchetypeMethods[]
static PyObject * Crossfire_Archetype_GetHead(Crossfire_Archetype *who, void *closure)
static PyObject * Crossfire_Archetype_GetName(Crossfire_Archetype *whoptr, void *closure)
static PyObject * Crossfire_Archetype_GetNewObject(Crossfire_Archetype *who, PyObject *args)
archetype * cf_archetype_get_next(archetype *arch)
PyObject * Crossfire_Archetype_wrap(archetype *what)
PyTypeObject Crossfire_ArchetypeType
static PyObject * Crossfire_Archetype_GetNext(Crossfire_Archetype *who, void *closure)
archetype * cf_archetype_get_head(archetype *arch)
static int Crossfire_Archetype_InternalCompare(Crossfire_Archetype *left, Crossfire_Archetype *right)