summaryrefslogtreecommitdiffstats
path: root/Include/moduleobject.h
blob: 99d3d52f407840f29dfebe1f0c933218681c4cd5 (plain)
1
2
3
4
5
6
7
8
9
10
/* Module object interface */

extern typeobject Moduletype;

#define is_moduleobject(op) ((op)->ob_type == &Moduletype)

extern object *newmoduleobject PROTO((char *));
extern object *getmoduledict PROTO((object *));
extern int setmoduledict PROTO((object *, object *));
extern char *getmodulename PROTO((object *));