0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00
cpython/Include/moduleobject.h
1990-10-26 15:00:11 +00:00

11 lines
318 B
C

/* 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 *));