summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-29 20:34:46 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-29 20:34:46 (GMT)
commit16926bd75e6292e7096d3bb8bd47a007823ef85a (patch)
treef906ee7a69f4613041f0abd7ffff8febbf1d872a /Include
parent8b3282be9f6c747abdf9ae3da5c8590962c7a8e6 (diff)
downloadcpython-16926bd75e6292e7096d3bb8bd47a007823ef85a.zip
cpython-16926bd75e6292e7096d3bb8bd47a007823ef85a.tar.gz
cpython-16926bd75e6292e7096d3bb8bd47a007823ef85a.tar.bz2
Add PyImport_AppendInittab() an PyImport_ExtendInittab().
Diffstat (limited to 'Include')
-rw-r--r--Include/import.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/import.h b/Include/import.h
index 6388ae6..0f6e92f 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -61,6 +61,9 @@ struct _inittab {
extern DL_IMPORT(struct _inittab *) PyImport_Inittab;
+extern int PyImport_AppendInittab Py_PROTO((char *name, void (*initfunc)()));
+extern int PyImport_ExtendInittab Py_PROTO((struct _inittab *newtab));
+
struct _frozen {
char *name;
unsigned char *code;