summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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