summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_tail
blob: 4803ea5542a22e350b6de05c3dbf9a2cd6a3eda4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

static PyTypeObject $Abbrev$type = {
	PyObject_HEAD_INIT(&PyType_Type)
	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*/
};

/* End of code for $name$ objects */
/* -------------------------------------------------------- */