head	1.1;
access;
symbols;
locks
	amk:1.1; strict;
comment	@# @;


1.1
date	96.06.20.21.31.23;	author amk;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@
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*/
};

#define $abbrev$_Check(v)		((v)->ob_type == &$Abbrev$Type)

/* ---------------------------------------------------------------- */
@
