Gregory P. Smith
dd96db63f6
This reverts r63675 based on the discussion in this thread:
...
http://mail.python.org/pipermail/python-dev/2008-June/079988.html
Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
2008-06-09 04:58:54 +00:00
Christian Heimes
593daf545b
Renamed PyString to PyBytes
2008-05-26 12:51:38 +00:00
Amaury Forgeot d'Arc
f9b54c2411
Sync code with documentation, and remove Win95 support in winsound module.
2008-05-12 21:30:24 +00:00
Kristján Valur Jónsson
629ec26f63
Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.
2007-05-26 19:31:39 +00:00
Georg Brandl
844f7ddcdc
Patch #1527744 : right order of includes in order to have HAVE_CONIO_H defined properly.
2006-07-24 13:46:47 +00:00
Martin v. Löwis
0e8bd7e1cc
Patch #1495999 : Part two of Windows CE changes.
...
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
2006-06-10 12:23:46 +00:00
Tim Peters
773feaf529
initwinsound(): this no longer compiled on Windows,
...
because code snuck in between auto declarations.
2006-01-19 15:25:07 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis
30b4975d29
Limit x86 machine instructions and Win95 support to _M_IX86.
2005-11-29 17:08:24 +00:00
Walter Dörwald
fee10040b4
sound_playsound() doesn't have to be visible externally,
...
so make it static.
2003-05-22 17:22:54 +00:00
Guido van Rossum
e1252684be
Add MessageBeep() API.
2003-04-09 19:38:08 +00:00
Mark Hammond
e407e2ac42
Nuke the only DL_* in this directory.
2002-07-22 13:26:41 +00:00
Martin v. Löwis
14f8b4cfcb
Patch #568124 : Add doc string macros.
2002-06-13 20:33:02 +00:00
Neal Norwitz
031829d3ef
Use symbolic METH_VARARGS instead of 1 for ml_flags
2002-03-31 14:37:44 +00:00
Tim Peters
e79af273e8
Flesh out PlaySound() docs enough so that SND_ALIAS isn't hopelessly confusing.
...
If someone knows how to turn the new table of guaranteed-registered system
sounds into a LaTeX table, be my guest.
2001-02-20 10:02:21 +00:00
Tim Peters
373d151666
More typos. libwinsound.tex typo noted by Peter Funk (thanks!).
2001-02-19 08:36:41 +00:00
Tim Peters
3e50242127
Repair tab/space screwup.
2001-02-19 07:33:23 +00:00
Tim Peters
25a9ce371c
Take a tour of hell's seedier neighborhoods to try to make winsound.Beep()
...
do something non-useless on Win9X boxes. WinME unknown to me. Someone with
NT/2000 make sure it still works there!
2001-02-19 07:06:36 +00:00
Tim Peters
be30c6b900
New info in beep() docstring.
2001-01-25 20:40:28 +00:00
Thomas Wouters
7889010731
Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,
...
char**) and return an int even on PC platforms. If not, please fix
PC/utils/makesrc.c ;-P
2000-07-22 19:25:51 +00:00
Guido van Rossum
99eb7a1255
Mark Hammond writes:
...
Attached is a context diff to winsound.c that adds a Beep() function
to play a sound through the PC speaker. Seems to make sense to have
this added, so I just went and did it!
1999-10-01 14:29:17 +00:00
Guido van Rossum
e600578ac7
Add winsound -- by Toby Dickenson with permission.
1999-02-04 22:40:42 +00:00