Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c04be6

Browse files
committed
This is now the "real" main program -- it calls Py_Main(argc, argv)
which is in the library and does all the work.
1 parent 3768fb1 commit 4c04be6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Modules/python.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Minimal main program -- everything is loaded from the library */
2+
3+
extern int Py_Main();
4+
5+
main(argc, argv)
6+
int argc;
7+
char **argv;
8+
{
9+
return Py_Main(argc, argv);
10+
}

0 commit comments

Comments
 (0)