mirror of https://github.com/python/cpython.git
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
This commit is contained in:
parent
8fa9b6f932
commit
4ee68d91c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue