symbian-qemu-0.9.1-12/python-2.6.1/Tools/modulator/Templates/object_tail
author martin.trojer@nokia.com
Mon, 10 Aug 2009 09:51:31 +0100
changeset 9 ed6428499142
parent 1 2fb8b9db1c86
permissions -rw-r--r--
Documentation updates


static char $Abbrev$type__doc__[] = 
""
;

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*/
	(ternaryfunc)$tp_call$,		/*tp_call*/
	(reprfunc)$tp_str$,		/*tp_str*/

	/* Space for future expansion */
	0L,0L,0L,0L,
	$Abbrev$type__doc__ /* Documentation string */
};

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