diff options
author | Guido van Rossum <guido@python.org> | 1996-06-17 17:05:01 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-06-17 17:05:01 +0000 |
commit | cf38b117209521f89edde4f3c70b7969679d3ea4 (patch) | |
tree | df75e5a92098c3468bae60180d6d5d50542fbc2e /Include/import.h | |
parent | e6548c0a69f4eb6579fac867eda9b3d47550bb5e (diff) | |
download | cpython-cf38b117209521f89edde4f3c70b7969679d3ea4.tar.gz |
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
Diffstat (limited to 'Include/import.h')
-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 b406233d3c..7738418c75 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 |