0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/PC/WinMain.c

16 lines
405 B
C
Raw Normal View History

/* Minimal main program -- everything is loaded from the library */
#include <windows.h>
extern int Py_Main();
int WINAPI WinMain(
HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // pointer to command line
int nCmdShow // show state of window
)
{
return Py_Main(__argc, __argv);
}