Staging
v0.8.1
https://github.com/python/cpython
Revision d72eb611a776f0130ca5aa78e252a4f9100c39f3 authored by Fred Drake on 08 March 2002, 22:02:17 UTC, committed by Fred Drake on 08 March 2002, 22:02:17 UTC
in the installation and how that location is determined).
1 parent d2fa75d
Raw File
Tip revision: d72eb611a776f0130ca5aa78e252a4f9100c39f3 authored by Fred Drake on 08 March 2002, 22:02:17 UTC
Add more explanation of how data_files is used (esp. where the files end up
Tip revision: d72eb61
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

#include "Python.h"

extern int Py_Main(int, char **);

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);
}
back to top