version 1.10 | | version 1.11 |
---|
| | |
0 | | 0 |
}; | | }; |
| | |
| | static void Crossfire_Object_dealloc(PyObject *obj); |
static PyObject *Crossfire_Object_new(PyTypeObject *type, PyObject *args, PyObject *kwds); | | static PyObject *Crossfire_Object_new(PyTypeObject *type, PyObject *args, PyObject *kwds); |
| | |
/* Our actual Python ObjectType */ | | /* Our actual Python ObjectType */ |
| | |
"Crossfire.Object", /* tp_name*/ | | "Crossfire.Object", /* tp_name*/ |
sizeof(Crossfire_Object), /* tp_basicsize*/ | | sizeof(Crossfire_Object), /* tp_basicsize*/ |
0, /* tp_itemsize*/ | | 0, /* tp_itemsize*/ |
0, /* tp_dealloc*/ | | Crossfire_Object_dealloc, /* tp_dealloc*/ |
0, /* tp_print*/ | | 0, /* tp_print*/ |
0, /* tp_getattr*/ | | 0, /* tp_getattr*/ |
0, /* tp_setattr*/ | | 0, /* tp_setattr*/ |
| | |
{NULL, NULL } | | {NULL, NULL } |
}; | | }; |
| | |
| | static void Crossfire_Player_dealloc(PyObject *obj); |
static PyObject *Crossfire_Player_new(PyTypeObject *type, PyObject *args, PyObject *kwds); | | static PyObject *Crossfire_Player_new(PyTypeObject *type, PyObject *args, PyObject *kwds); |
| | |
/* Our actual Python ObjectPlayerType */ | | /* Our actual Python ObjectPlayerType */ |
| | |
"Crossfire.Player", /* tp_name*/ | | "Crossfire.Player", /* tp_name*/ |
sizeof(Crossfire_Player), /* tp_basicsize*/ | | sizeof(Crossfire_Player), /* tp_basicsize*/ |
0, /* tp_itemsize*/ | | 0, /* tp_itemsize*/ |
0, /* tp_dealloc*/ | | Crossfire_Player_dealloc, /* tp_dealloc*/ |
0, /* tp_print*/ | | 0, /* tp_print*/ |
0, /* tp_getattr*/ | | 0, /* tp_getattr*/ |
0, /* tp_setattr*/ | | 0, /* tp_setattr*/ |