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

Skip to content

Commit 16926bd

Browse files
committed
Add PyImport_AppendInittab() an PyImport_ExtendInittab().
1 parent 8b3282b commit 16926bd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Include/import.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ struct _inittab {
6161

6262
extern DL_IMPORT(struct _inittab *) PyImport_Inittab;
6363

64+
extern int PyImport_AppendInittab Py_PROTO((char *name, void (*initfunc)()));
65+
extern int PyImport_ExtendInittab Py_PROTO((struct _inittab *newtab));
66+
6467
struct _frozen {
6568
char *name;
6669
unsigned char *code;

0 commit comments

Comments
 (0)