annotate PC/python3dll.c @ 71285:8bc9dbc61ba6 3.2

Issue #12326: document the recommended idiom for checking sys.platform on Unix systems. Also, point to the various alternatives.
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 09 Jul 2011 15:54:23 +0200
parents 1ea492ea40fd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
68253
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
1 #include <windows.h>
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
2
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
3 BOOL WINAPI
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
4 DllMain(HINSTANCE hInstDLL,
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
5 DWORD fdwReason,
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
6 LPVOID lpReserved)
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
7 {
1ea492ea40fd Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl <georg@python.org>
parents: 66664
diff changeset
8 return TRUE;
66664
62b61abd02b8 Merge branches/pep-0384.
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
9 }