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)();
|
void (*initfunc)();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* This table is defined in config.c: */
|
||||||
|
|
||||||
extern struct _inittab inittab[];
|
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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue