]> granicus.if.org Git - python/commitdiff
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
authorGuido van Rossum <guido@python.org>
Mon, 17 Jun 1996 17:05:01 +0000 (17:05 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 17 Jun 1996 17:05:01 +0000 (17:05 +0000)
Include/import.h

index b406233d3ce23f4d30adc0a04a1b3fcb2e54a4b3..7738418c754d6cec7c6addd72d814e80fc31526e 100644 (file)
@@ -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