summaryrefslogtreecommitdiffstats
path: root/Include/pgenheaders.h
Commit message (Collapse)AuthorAgeFilesLines
* Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCCNeil Schemenauer2002-09-151-2/+2
| | | | might use __attribute__ in other ways (e.g. CodeWarrior).
* Excise DL_EXPORT from Include.Mark Hammond2002-08-121-2/+2
| | | | Thanks to Skip Montanaro and Kalle Svensson for the patches.
* Moving pymalloc along.Tim Peters2002-04-221-17/+1
| | | | | | | | | | | | | | | | | | + Redirect PyMem_{Del, DEL} to the object allocator's free() when pymalloc is enabled. Needed so old extensions can continue to mix PyObject_New with PyMem_DEL. + This implies that pgen needs to be able to see the PyObject_XYZ declarations too. pgenheaders.h now includes Python.h. An implication is that I expect obmalloc.o needs to get linked into pgen on non-Windows boxes. + When PYMALLOC_DEBUG is defined, *all* Py memory API functions now funnel through the debug allocator wrapper around pymalloc. This is the default in a debug build. + That caused compile.c to fail: it indirectly mixed PyMem_Malloc with raw platform free() in one place. This is verbotten.
* Add function attributes that allow GCC to check the arguments of printf-likeNeil Schemenauer2001-10-231-2/+4
| | | | functions.
* Repair more now-obsolete references to config.h.Tim Peters2001-07-261-1/+1
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-1/+1
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* patch from Vladimir (move Py_Mem* interface to Include/pymem.h)Peter Schneider-Kamp2000-07-311-1/+1
|
* merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp2000-07-311-2/+1
| | | | marked my*.h as obsolete
* ANSIfications: fix empty arglists, and remove the checks forThomas Wouters2000-07-221-6/+0
| | | | 'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-21/+6
|
* Jack Jansen: Removed support for long-dead Think C compilerGuido van Rossum2000-06-281-5/+0
|
* Add DL_IMPORT(returntype) for all officially exported functions.Guido van Rossum1998-12-041-4/+4
|
* Duplicate the decls for PySys_WriteStd{out,err} here so the VC++Guido van Rossum1998-09-171-0/+9
| | | | compiler doesn't grumble. Greg Stein's suggestion.
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* Always include config.hGuido van Rossum1996-08-191-2/+0
|
* rename parser internal symbols with _Py_ prefixGuido van Rossum1996-05-241-0/+22
|
* Define DL_IMPORT if necessary.Guido van Rossum1996-05-221-1/+6
| | | | Include pydebug.h instead of declaring Py_FatalError.
* The great renaming, phase two: all header files have been updated toGuido van Rossum1995-01-121-1/+1
| | | | | | | use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
* Added 1995 copyright.Guido van Rossum1995-01-041-2/+2
| | | | | | object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
* For THINK C 6.0Guido van Rossum1994-08-291-6/+1
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-10/+7
|
* * Added support for X11 modules.Guido van Rossum1993-07-281-0/+11
| | | | | | | * Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
* * 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
* * renamed malloc.h mymalloc.h, and added MALLARG as the type of theGuido van Rossum1992-08-191-1/+1
| | | | | | | | argument to malloc() (size_t or unsigned int) * listobject.c: check for overflow of the size of the object, so things like range(0x7fffffff) will raise MemoryError instead of calling malloc() with -4 (and then crashing -- malloc's fault)
* Copyright for 1992 addedGuido van Rossum1992-04-051-1/+1
|
* Generalize to macintosh.Guido van Rossum1991-06-241-2/+6
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Changes for THINK C 4.0.Guido van Rossum1990-12-201-1/+12
|
* "Compiling" versionGuido van Rossum1990-12-201-0/+15