Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();

This commit is contained in:
Guido van Rossum 1996-06-17 17:05:01 +00:00
parent 8fa9b6f932
commit 4ee68d91c3
1 changed files with 13 additions and 0 deletions

View File

@ -45,8 +45,21 @@ struct _inittab {
void (*initfunc)();
};
/* This table is defined in config.c: */
extern struct _inittab inittab[];
struct _frozen {
char *name;
unsigned char *code;
int size;
};
/* Embedding apps may change this pointer to point to their favorite
collection of frozen modules: */
extern DL_IMPORT(struct _frozen *) PyImport_FrozenModules;
#ifdef __cplusplus
}
#endif