From 4ee68d91c361e783de29249582b67e6bccd116bd Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 17 Jun 1996 17:05:01 +0000 Subject: [PATCH] Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules(); --- Include/import.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Include/import.h b/Include/import.h index b406233d3ce..7738418c754 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