1995-03-02 14:05:29 +00:00
|
|
|
|
1995-06-20 12:26:03 +00:00
|
|
|
static char $Abbrev$type__doc__[] =
|
|
|
|
""
|
|
|
|
;
|
|
|
|
|
1995-05-16 13:47:03 +00:00
|
|
|
static PyTypeObject $Abbrev$type = {
|
|
|
|
PyObject_HEAD_INIT(&PyType_Type)
|
1995-03-02 14:05:29 +00:00
|
|
|
0, /*ob_size*/
|
|
|
|
"$name$", /*tp_name*/
|
|
|
|
sizeof($abbrev$object), /*tp_basicsize*/
|
|
|
|
0, /*tp_itemsize*/
|
|
|
|
/* methods */
|
|
|
|
(destructor)$tp_dealloc$, /*tp_dealloc*/
|
|
|
|
(printfunc)$tp_print$, /*tp_print*/
|
|
|
|
(getattrfunc)$tp_getattr$, /*tp_getattr*/
|
|
|
|
(setattrfunc)$tp_setattr$, /*tp_setattr*/
|
|
|
|
(cmpfunc)$tp_compare$, /*tp_compare*/
|
|
|
|
(reprfunc)$tp_repr$, /*tp_repr*/
|
|
|
|
$tp_as_number$, /*tp_as_number*/
|
|
|
|
$tp_as_sequence$, /*tp_as_sequence*/
|
|
|
|
$tp_as_mapping$, /*tp_as_mapping*/
|
|
|
|
(hashfunc)$tp_hash$, /*tp_hash*/
|
1995-10-12 13:45:25 +00:00
|
|
|
(ternaryfunc)$tp_call$, /*tp_call*/
|
1995-06-20 12:26:03 +00:00
|
|
|
(reprfunc)$tp_str$, /*tp_str*/
|
|
|
|
|
|
|
|
/* Space for future expansion */
|
|
|
|
0L,0L,0L,0L,
|
|
|
|
$Abbrev$type__doc__ /* Documentation string */
|
1995-03-02 14:05:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* End of code for $name$ objects */
|
|
|
|
/* -------------------------------------------------------- */
|
1995-05-16 13:47:03 +00:00
|
|
|
|