summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_head
blob: bf69a516c58e872f6c13e2b5acf5a89e97f68013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Declarations for objects of type $name$ */

typedef struct {
	OB_HEAD
	/* XXXX Add your own stuff here */
} $abbrev$object;

staticforward typeobject $Abbrev$type;

#define is_$abbrev$object(v)		((v)->ob_type == &$Abbrev$type)

/* ---------------------------------------------------------------- */