summaryrefslogtreecommitdiffstats
path: root/Modules/rgbimgmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond2002-08-021-1/+1
| | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
* Remove METH_OLDARGS:Neal Norwitz2002-03-311-9/+9
| | | | | | | Convert METH_OLDARGS -> METH_VARARGS: also PyArg_Parse -> PyArg_ParseTuple Convert METH_OLDARGS -> METH_NOARGS: remove args parameter Please review. All tests pass, but some modules don't have tests. I spot checked various functions to try to make sure nothing broke.
* Patch #477750: Use METH_ constants in Modules.Martin v. Löwis2002-01-171-4/+4
|
* Include <unistd.h> in Python.h. Fixes #500924.Martin v. Löwis2002-01-121-3/+0
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* ANSI-ficationPeter Schneider-Kamp2000-07-101-53/+19
|
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-091-6/+6
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Purported fixes for 64-bit platforms with help from John JorgensenGuido van Rossum1998-04-231-42/+54
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-4/+2
| | | | | | | | | | | | | | | | | (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!
* Partial(?) 64bit patch (AMK).Guido van Rossum1997-05-221-6/+6
|
* Keep Microsoft VC happy.Guido van Rossum1997-04-111-10/+10
|
* (Jack:) fopen arg typo (?) "rw" changed to "rb".Guido van Rossum1997-04-111-1/+1
|
* Change all three fopen calls to use binary mode.Guido van Rossum1997-02-211-3/+3
|
* Primarily formatting changes, but I also plugged a couple of potentialBarry Warsaw1997-01-091-302/+308
| | | | return value problems, memory leaks, and descriptor leaks.
* Reindented.Roger E. Masse1997-01-031-516/+546
|
* Grandly renamed.Barry Warsaw1996-12-111-50/+52
| | | | | Note that since I have no idea how to test this, I didn't write a test case. It does seem to at least compile on my system though.
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-1/+1
|
* Declare a bunch of internal routines as returning void.Guido van Rossum1996-08-191-13/+13
|
* Another bulky set of minor changes.Guido van Rossum1995-01-021-1/+1
| | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-3/+5
|
* Integers are specified as "i" and not as "d".Sjoerd Mullender1994-01-071-1/+1
|
* Added function ttob.Sjoerd Mullender1993-12-241-4/+41
|
* ANSIfied somewhat.Sjoerd Mullender1993-12-241-21/+22
|
* rgbimgmodule.c, Makefile, config.c: new module to read RGB image files.Sjoerd Mullender1993-12-211-0/+712
Does not need any SGI-specific libraries. cgen.py, cstubs, Makefile: Generate glmodule.c differently so that it can be compiled using an ANSI compiler.