Go to the documentation of this file.
72 wrapper->
party = what;
73 return (PyObject *)wrapper;
86 Py_INCREF(Py_NotImplemented);
87 return Py_NotImplemented;
111 return PyBool_FromLong(
result);
118 { NULL, NULL, NULL, NULL, NULL }
123 { NULL, NULL, 0, NULL }
130 PyObject_HashNotImplemented,
131 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
const char * cf_party_get_name(partylist *party)
PyObject_HEAD partylist * party
static PyMethodDef PartyMethods[]
PyObject * Crossfire_Object_wrap(object *what)
player * cf_party_get_first_player(partylist *party)
static int Crossfire_Party_InternalCompare(Crossfire_Party *left, Crossfire_Party *right)
partylist * cf_party_get_next(partylist *party)
static PyObject * Crossfire_Party_RichCompare(Crossfire_Party *left, Crossfire_Party *right, int op)
CF_PYTHON_OBJECT(Party, NULL, NULL, PyObject_HashNotImplemented, Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, "Crossfire parties",(richcmpfunc) Crossfire_Party_RichCompare, PartyMethods, Party_getseters, NULL, NULL)
static PyGetSetDef Party_getseters[]
PyTypeObject Crossfire_PartyType
static PyObject * Crossfire_Party_GetNext(Crossfire_Party *party, void *closure)
static PyObject * Crossfire_Party_GetPassword(Crossfire_Party *partyptr, void *closure)
PyObject * Crossfire_Party_wrap(partylist *what)
static PyObject * Crossfire_Party_GetName(Crossfire_Party *partyptr, void *closure)
const char * cf_party_get_password(partylist *party)
player * cf_party_get_next_player(partylist *party, player *op)
static PyObject * Crossfire_Party_GetPlayers(Crossfire_Party *party, PyObject *args)