mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08: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
@ -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…
Reference in New Issue
Block a user