/PC/WinMain.c

http://unladen-swallow.googlecode.com/ · C · 16 lines · 12 code · 3 blank · 1 comment · 0 complexity · 345d105c73de395eb8b0541b07db2359 MD5 · raw file

  1. /* Minimal main program -- everything is loaded from the library. */
  2. #include "Python.h"
  3. #define WIN32_LEAN_AND_MEAN
  4. #include <windows.h>
  5. int WINAPI WinMain(
  6. HINSTANCE hInstance, /* handle to current instance */
  7. HINSTANCE hPrevInstance, /* handle to previous instance */
  8. LPSTR lpCmdLine, /* pointer to command line */
  9. int nCmdShow /* show state of window */
  10. )
  11. {
  12. return Py_Main(__argc, __argv);
  13. }