mirror of
https://github.com/python/cpython.git
synced 2024-11-28 16:45:42 +01:00
67ab67218b
- MS_DLL_ID is now set to "1.5" instead of "1.5.x" so Mark Hammond's extensions won't have to be changed. - FILEVERSION and PRODUCTVERSION are set to 1,5,2,1. (The last number could be the build# or the alpha release# or so.)
17 lines
425 B
C
17 lines
425 B
C
/* Minimal main program -- everything is loaded from the library */
|
|
|
|
#include <windows.h>
|
|
#include "Python.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);
|
|
}
|