summaryrefslogtreecommitdiffstats
path: root/Include/import.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-06-17 17:05:01 (GMT)
committerGuido van Rossum <guido@python.org>1996-06-17 17:05:01 (GMT)
commit4ee68d91c361e783de29249582b67e6bccd116bd (patch)
treef3ac01cc15d559b03dac51fe071feeb8e1afc531 /Include/import.h
parent8fa9b6f93286faa0e51aa97f43f7b5231bb5955c (diff)
downloadcpython-4ee68d91c361e783de29249582b67e6bccd116bd.zip
cpython-4ee68d91c361e783de29249582b67e6bccd116bd.tar.gz
cpython-4ee68d91c361e783de29249582b67e6bccd116bd.tar.bz2
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
Diffstat (limited to 'Include/import.h')
-rw-r--r--Include/import.h13
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