summaryrefslogtreecommitdiffstats
path: root/Modules/sunaudiodev.c
Commit message (Collapse)AuthorAgeFilesLines
* Apply two changes, systematically:Guido van Rossum1997-10-011-3/+1
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Bugfix by Sjoerd:Guido van Rossum1997-04-111-1/+5
| | | | | /* x_ocount is in bytes, wheras play.samples is in frames */ /* we want frames */
* Plugged a couple of potential return value problems, memory leaks, andBarry Warsaw1997-01-091-8/+13
| | | | descriptor leaks.
* Renamed, however there is no test case. I did test some of the moduleBarry Warsaw1996-12-131-194/+200
| | | | | out manually, and it does compile, but I'm not sure how to write a useful portable test case. Maybe later...
* Make gcc -Wall happy; remove dummy variable (can't see where it's needed).Guido van Rossum1996-12-101-2/+8
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Correct typo: return -1 for error, not 0Guido van Rossum1996-09-111-1/+1
|
* Added some (method) casts.Sjoerd Mullender1995-03-171-10/+10
|
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-20/+24
|
* Port to Solaris 2.3.Sjoerd Mullender1993-12-031-2/+37
|
* * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.Guido van Rossum1993-06-171-0/+35
| | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close().
* * Changed all copyright messages to include 1993.Guido van Rossum1993-03-291-2/+2
| | | | | | | | | | | | | | | | | * Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
* classobject.c moduleobject.c stdwinmodule.c xxobject.c:Guido van Rossum1992-09-041-0/+6
| | | | | raise AttributeError, not KeyError, when attribute deletion fails. sunaudiodevmodule.c: check for deletion before calling setmember.
* Initial revisionGuido van Rossum1992-06-031-0/+408