You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
298 B

  1. /* Minimal main program -- everything is loaded from the library */
  2. #include "Python.h"
  3. #include "pycore_pylifecycle.h"
  4. #ifdef MS_WINDOWS
  5. int
  6. wmain(int argc, wchar_t **argv)
  7. {
  8. return Py_Main(argc, argv);
  9. }
  10. #else
  11. int
  12. main(int argc, char **argv)
  13. {
  14. return _Py_UnixMain(argc, argv);
  15. }
  16. #endif