PageRenderTime 2ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Tools/modulator/Templates/object_tail

http://unladen-swallow.googlecode.com/
#! | 33 lines | 28 code | 5 blank | 0 comment | 0 complexity | 9a684ded75ba720fcb0b14495a738b8e MD5 | raw file
 1
 2static char $Abbrev$type__doc__[] = 
 3""
 4;
 5
 6static 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