Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ee68d9

Browse files
committed
Add defs for struct _frozen and struct _frozen *PyImport_FrozenModules();
1 parent 8fa9b6f commit 4ee68d9

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Include/import.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,21 @@ struct _inittab {
4545
void (*initfunc)();
4646
};
4747

48+
/* This table is defined in config.c: */
49+
4850
extern struct _inittab inittab[];
4951

52+
struct _frozen {
53+
char *name;
54+
unsigned char *code;
55+
int size;
56+
};
57+
58+
/* Embedding apps may change this pointer to point to their favorite
59+
collection of frozen modules: */
60+
61+
extern DL_IMPORT(struct _frozen *) PyImport_FrozenModules;
62+
5063
#ifdef __cplusplus
5164
}
5265
#endif

0 commit comments

Comments
 (0)