commit | 4c04be64b38d9f44f4b80fdabf3ef81d88717d83 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Jul 19 19:25:33 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Jul 19 19:25:33 1997 +0000 |
tree | b348dd6c608e44e90deaa6f7a982f4db98b96a9a | |
parent | 3768fb1097b0c253716b46313510c27c5afb31f9 [diff] |
This is now the "real" main program -- it calls Py_Main(argc, argv) which is in the library and does all the work.
diff --git a/Modules/python.c b/Modules/python.c new file mode 100644 index 0000000..8a638c7 --- /dev/null +++ b/Modules/python.c
@@ -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); +}