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

Skip to content

Commit 66959af

Browse files
committed
Remove the declaration of "internal" table _PyImport_Inittab[]; add
new "official" pointer *PyImport_Inittab.
1 parent e8d1139 commit 66959af

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Include/import.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ struct _inittab {
5757
void (*initfunc)();
5858
};
5959

60-
/* This table is defined in config.c: */
61-
62-
extern struct _inittab _PyImport_Inittab[];
60+
extern DL_IMPORT(struct _inittab *) PyImport_Inittab;
6361

6462
struct _frozen {
6563
char *name;

0 commit comments

Comments
 (0)