mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-25 14:15:29 +00:00
Initial 3.14 commit
This commit is contained in:
17
Programs/python.c
Normal file
17
Programs/python.c
Normal file
@@ -0,0 +1,17 @@
|
||||
/* Minimal main program -- everything is loaded from the library */
|
||||
|
||||
#include "Python.h"
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
int
|
||||
wmain(int argc, wchar_t **argv)
|
||||
{
|
||||
return Py_Main(argc, argv);
|
||||
}
|
||||
#else
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
return Py_BytesMain(argc, argv);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user