equal
deleted
inserted
replaced
|
1 |
|
2 static char $Abbrev$type__doc__[] = |
|
3 "" |
|
4 ; |
|
5 |
|
6 static PyTypeObject $Abbrev$type = { |
|
7 PyObject_HEAD_INIT(&PyType_Type) |
|
8 0, /*ob_size*/ |
|
9 "$name$", /*tp_name*/ |
|
10 sizeof($abbrev$object), /*tp_basicsize*/ |
|
11 0, /*tp_itemsize*/ |
|
12 /* methods */ |
|
13 (destructor)$tp_dealloc$, /*tp_dealloc*/ |
|
14 (printfunc)$tp_print$, /*tp_print*/ |
|
15 (getattrfunc)$tp_getattr$, /*tp_getattr*/ |
|
16 (setattrfunc)$tp_setattr$, /*tp_setattr*/ |
|
17 (cmpfunc)$tp_compare$, /*tp_compare*/ |
|
18 (reprfunc)$tp_repr$, /*tp_repr*/ |
|
19 $tp_as_number$, /*tp_as_number*/ |
|
20 $tp_as_sequence$, /*tp_as_sequence*/ |
|
21 $tp_as_mapping$, /*tp_as_mapping*/ |
|
22 (hashfunc)$tp_hash$, /*tp_hash*/ |
|
23 (ternaryfunc)$tp_call$, /*tp_call*/ |
|
24 (reprfunc)$tp_str$, /*tp_str*/ |
|
25 |
|
26 /* Space for future expansion */ |
|
27 0L,0L,0L,0L, |
|
28 $Abbrev$type__doc__ /* Documentation string */ |
|
29 }; |
|
30 |
|
31 /* End of code for $name$ objects */ |
|
32 /* -------------------------------------------------------- */ |
|
33 |