[Python-checkins] CVS: python/dist/src/Include pyport.h,2.21,2.22

M.-A. Lemburg python-dev@python.org
Thu, 5 Oct 2000 10:25:53 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18477/Include

Modified Files:
	pyport.h 
Log Message:
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.

Index: pyport.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pyport.h,v
retrieving revision 2.21
retrieving revision 2.22
diff -C2 -r2.21 -r2.22
*** pyport.h	2000/10/05 01:42:23	2.21
--- pyport.h	2000/10/05 17:25:45	2.22
***************
*** 40,43 ****
--- 40,46 ----
  #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.