From 39c2aae19807c4275616655912661a4710768405 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 22 May 1996 17:25:28 +0000 Subject: Added decl for PyImport_Init. Changed decl for inittab to define struct _inittab first. --- Include/import.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Include/import.h b/Include/import.h index 46ce6bb..b406233 100644 --- a/Include/import.h +++ b/Include/import.h @@ -30,6 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. /* Module definition and import interface */ +void PyImport_Init Py_PROTO((void)); long PyImport_GetMagicNumber Py_PROTO((void)); PyObject *PyImport_ExecCodeModule Py_PROTO((char *name, PyObject *co)); PyObject *PyImport_GetModuleDict Py_PROTO((void)); @@ -37,11 +38,14 @@ PyObject *PyImport_AddModule Py_PROTO((char *name)); PyObject *PyImport_ImportModule Py_PROTO((char *name)); PyObject *PyImport_ReloadModule Py_PROTO((PyObject *m)); void PyImport_Cleanup Py_PROTO((void)); +int PyImport_ImportFrozenModule Py_PROTO((char *)); -extern struct { +struct _inittab { char *name; void (*initfunc)(); -} inittab[]; +}; + +extern struct _inittab inittab[]; #ifdef __cplusplus } -- cgit v0.12