blob: 40abdea83725dc418306a9b32c11c1e0594cda96 [file] [log] [blame]
Guido van Rossum60a578a1993-12-24 10:32:48 +00001#ifndef Py_PROTO_H
2#define Py_PROTO_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7/***********************************************************
Guido van Rossumfd71b9e2000-06-30 23:50:40 +00008Copyright (c) 2000, BeOpen.com.
9Copyright (c) 1995-2000, Corporation for National Research Initiatives.
10Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
11All rights reserved.
Guido van Rossum60a578a1993-12-24 10:32:48 +000012
Guido van Rossumfd71b9e2000-06-30 23:50:40 +000013See the file "Misc/COPYRIGHT" for information on usage and
14redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
Guido van Rossum60a578a1993-12-24 10:32:48 +000015******************************************************************/
16
17#ifdef HAVE_PROTOTYPES
Guido van Rossumcaa63801995-01-12 11:45:45 +000018#define Py_PROTO(x) x
Guido van Rossum60a578a1993-12-24 10:32:48 +000019#else
Guido van Rossumcaa63801995-01-12 11:45:45 +000020#define Py_PROTO(x) ()
Guido van Rossum60a578a1993-12-24 10:32:48 +000021#endif
22
Guido van Rossumcaa63801995-01-12 11:45:45 +000023#ifndef Py_FPROTO
24#define Py_FPROTO(x) Py_PROTO(x)
Guido van Rossum60a578a1993-12-24 10:32:48 +000025#endif
26
27#ifdef __cplusplus
28}
29#endif
Guido van Rossumcaa63801995-01-12 11:45:45 +000030
Guido van Rossum60a578a1993-12-24 10:32:48 +000031#endif /* !Py_PROTO_H */