Mercurial > cpython-lru_cache-weakref
annotate PC/WinMain.c @ 58925:eecf1bef052d 2.6
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 16 Feb 2010 23:29:44 +0000 |
| parents | 9d02a4adf574 |
| children | 22a74eaf6b22 |
| rev | line source |
|---|---|
|
8893
09063eeda2b7
This file's previous log message is bogus.
Guido van Rossum <guido@python.org>
parents:
8892
diff
changeset
|
1 /* Minimal main program -- everything is loaded from the library. */ |
|
6809
140e65f83953
Adding a new project: pythonw, or WinMain.c, containing a main program
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
2 |
|
41969
9d02a4adf574
Merged revisions 55631-55794 via svnmerge from
Guido van Rossum <guido@python.org>
parents:
33430
diff
changeset
|
3 #include "Python.h" |
|
9d02a4adf574
Merged revisions 55631-55794 via svnmerge from
Guido van Rossum <guido@python.org>
parents:
33430
diff
changeset
|
4 |
|
17621
a1f07fcc3d41
SF bug 418296: WinMain.c should use WIN32_LEAN_AND_MEAN.
Tim Peters <tim.peters@gmail.com>
parents:
13668
diff
changeset
|
5 #define WIN32_LEAN_AND_MEAN |
|
6809
140e65f83953
Adding a new project: pythonw, or WinMain.c, containing a main program
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
6 #include <windows.h> |
|
13437
9fd333693350
- this is a tentative checkin of the #100764 patch (by
Fredrik Lundh <fredrik@pythonware.com>
parents:
8893
diff
changeset
|
7 |
|
6809
140e65f83953
Adding a new project: pythonw, or WinMain.c, containing a main program
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
8 int WINAPI WinMain( |
|
13437
9fd333693350
- this is a tentative checkin of the #100764 patch (by
Fredrik Lundh <fredrik@pythonware.com>
parents:
8893
diff
changeset
|
9 HINSTANCE hInstance, /* handle to current instance */ |
|
9fd333693350
- this is a tentative checkin of the #100764 patch (by
Fredrik Lundh <fredrik@pythonware.com>
parents:
8893
diff
changeset
|
10 HINSTANCE hPrevInstance, /* handle to previous instance */ |
|
9fd333693350
- this is a tentative checkin of the #100764 patch (by
Fredrik Lundh <fredrik@pythonware.com>
parents:
8893
diff
changeset
|
11 LPSTR lpCmdLine, /* pointer to command line */ |
|
9fd333693350
- this is a tentative checkin of the #100764 patch (by
Fredrik Lundh <fredrik@pythonware.com>
parents:
8893
diff
changeset
|
12 int nCmdShow /* show state of window */ |
|
6809
140e65f83953
Adding a new project: pythonw, or WinMain.c, containing a main program
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
13 ) |
|
140e65f83953
Adding a new project: pythonw, or WinMain.c, containing a main program
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
14 { |
|
13437
9fd333693350
- this is a tentative checkin of the #100764 patch (by
Fredrik Lundh <fredrik@pythonware.com>
parents:
8893
diff
changeset
|
15 return Py_Main(__argc, __argv); |
|
6809
140e65f83953
Adding a new project: pythonw, or WinMain.c, containing a main program
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
16 } |
