0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +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 *));