From: Guido van Rossum Date: Mon, 17 Jun 1996 17:05:01 +0000 (+0000) Subject: Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules(); X-Git-Tag: v1.4b1~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ee68d91c361e783de29249582b67e6bccd116bd;p=python Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules(); --- 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