diff options
author | Guido van Rossum <guido@python.org> | 1996-06-17 17:05:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-06-17 17:05:01 (GMT) |
commit | 4ee68d91c361e783de29249582b67e6bccd116bd (patch) | |
tree | f3ac01cc15d559b03dac51fe071feeb8e1afc531 /Include | |
parent | 8fa9b6f93286faa0e51aa97f43f7b5231bb5955c (diff) | |
download | cpython-4ee68d91c361e783de29249582b67e6bccd116bd.zip cpython-4ee68d91c361e783de29249582b67e6bccd116bd.tar.gz cpython-4ee68d91c361e783de29249582b67e6bccd116bd.tar.bz2 |
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
Diffstat (limited to 'Include')
-rw-r--r-- | Include/import.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Include/import.h b/Include/import.h index b406233..7738418 100644 --- a/Include/import.h +++ b/Include/import.h @@ -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 |