Permalink
Cannot retrieve contributors at this time
17 lines (14 sloc)
492 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" | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <stdlib.h> /* __argc, __wargv */ | |
int WINAPI wWinMain( | |
HINSTANCE hInstance, /* handle to current instance */ | |
HINSTANCE hPrevInstance, /* handle to previous instance */ | |
LPWSTR lpCmdLine, /* pointer to command line */ | |
int nCmdShow /* show state of window */ | |
) | |
{ | |
return Py_Main(__argc, __wargv); | |
} |