]> granicus.if.org Git - python/commitdiff
Added Py_FPROTO macro which was available in Python 1.5.x and below.
authorMarc-André Lemburg <mal@egenix.com>
Thu, 5 Oct 2000 17:25:45 +0000 (17:25 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Thu, 5 Oct 2000 17:25:45 +0000 (17:25 +0000)
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.

Include/pyport.h

index f35d8e661523ce71524e536f595ed5ed372e2d76..4bc6016175a2ffb8964b538ec5837972e1d04e7c 100644 (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.
  *