]> granicus.if.org Git - python/commitdiff
This is now the "real" main program -- it calls Py_Main(argc, argv)
authorGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:25:33 +0000 (19:25 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:25:33 +0000 (19:25 +0000)
which is in the library and does all the work.

Modules/python.c [new file with mode: 0644]

diff --git a/Modules/python.c b/Modules/python.c
new file mode 100644 (file)
index 0000000..8a638c7
--- /dev/null
@@ -0,0 +1,10 @@
+/* Minimal main program -- everything is loaded from the library */
+
+extern int Py_Main();
+
+main(argc, argv)
+       int argc;
+       char **argv;
+{
+       return Py_Main(argc, argv);
+}