cpython/Tools/modulator/Templates/object_head

13 lines
302 B
Plaintext
Raw Normal View History

1995-03-02 10:05:29 -04:00
/* 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)
/* ---------------------------------------------------------------- */