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:
Marc-André Lemburg 2000-10-05 17:25:45 +00:00
parent 77249442a5
commit 77317ca7dc
1 changed files with 3 additions and 0 deletions

View File

@ -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.
*