~ubuntu-branches/ubuntu/maverick/python3.1/maverick

« back to all changes in this revision

Viewing changes to PC/WinMain.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-03-23 00:01:27 UTC
  • Revision ID: james.westby@ubuntu.com-20090323000127-5fstfxju4ufrhthq
Tags: upstream-3.1~a1+20090322
ImportĀ upstreamĀ versionĀ 3.1~a1+20090322

Show diffs side-by-side

added added

removed removed

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