Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77317ca

Browse files
committed
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.
1 parent 7724944 commit 77317ca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Include/pyport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Used in: LONG_LONG
3939
#else
4040
#define Py_PROTO(x) ()
4141
#endif
42+
#ifndef Py_FPROTO
43+
#define Py_FPROTO(x) Py_PROTO(x)
44+
#endif
4245

4346
/* typedefs for some C9X-defined synonyms for integral types.
4447
*

0 commit comments

Comments
 (0)