summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-22 17:25:28 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-22 17:25:28 (GMT)
commit39c2aae19807c4275616655912661a4710768405 (patch)
treeaf22481aea3229cd6d817a7cb52b4aedc0888546 /Include
parent2514ec7fa425a62b36cbbedf560686c4c3734339 (diff)
downloadcpython-39c2aae19807c4275616655912661a4710768405.zip
cpython-39c2aae19807c4275616655912661a4710768405.tar.gz
cpython-39c2aae19807c4275616655912661a4710768405.tar.bz2
Added decl for PyImport_Init.
Changed decl for inittab to define struct _inittab first.
Diffstat (limited to 'Include')
-rw-r--r--Include/import.h8
1 files 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
}