diff options
author | Guido van Rossum <guido@python.org> | 1997-07-19 19:25:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-19 19:25:33 (GMT) |
commit | 4c04be64b38d9f44f4b80fdabf3ef81d88717d83 (patch) | |
tree | b348dd6c608e44e90deaa6f7a982f4db98b96a9a /Modules/python.c | |
parent | 3768fb1097b0c253716b46313510c27c5afb31f9 (diff) | |
download | cpython-4c04be64b38d9f44f4b80fdabf3ef81d88717d83.zip cpython-4c04be64b38d9f44f4b80fdabf3ef81d88717d83.tar.gz cpython-4c04be64b38d9f44f4b80fdabf3ef81d88717d83.tar.bz2 |
This is now the "real" main program -- it calls Py_Main(argc, argv)
which is in the library and does all the work.
Diffstat (limited to 'Modules/python.c')
-rw-r--r-- | Modules/python.c | 10 |
1 files changed, 10 insertions, 0 deletions
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); +} |