From: Marc-André Lemburg Date: Thu, 5 Oct 2000 17:25:45 +0000 (+0000) Subject: Added Py_FPROTO macro which was available in Python 1.5.x and below. X-Git-Tag: v2.0c1~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77317ca7dc4d4267c2c23b3825ba95c3978c9cdd;p=python 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. --- diff --git a/Include/pyport.h b/Include/pyport.h index f35d8e6615..4bc6016175 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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. *