mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Added Py_FPROTO macro which was available in Python 1.5.x and below.
This should not be used for new code, but will probably make porting old extensions to 2.0 a lot easier. Also see Bug #116011.
This commit is contained in:
parent
77249442a5
commit
77317ca7dc
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ Used in: LONG_LONG
|
|||
#else
|
||||
#define Py_PROTO(x) ()
|
||||
#endif
|
||||
#ifndef Py_FPROTO
|
||||
#define Py_FPROTO(x) Py_PROTO(x)
|
||||
#endif
|
||||
|
||||
/* typedefs for some C9X-defined synonyms for integral types.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue