Permalink
Cannot retrieve contributors at this time
17 lines (15 sloc)
266 Bytes
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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 |