blob: 94be8df08e0661da41d40b5fd5cc2e14036522ca [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
Tim Petersdbd9ba62000-07-09 03:09:57 +000017/***************************************
18THIS FILE IS OBSOLETE
19DON'T USE Py_PROTO or Py_FPROTO anymore.
20***************************************/
21
Guido van Rossum60a578a1993-12-24 10:32:48 +000022#ifdef HAVE_PROTOTYPES
Guido van Rossumcaa63801995-01-12 11:45:45 +000023#define Py_PROTO(x) x
Guido van Rossum60a578a1993-12-24 10:32:48 +000024#else
Guido van Rossumcaa63801995-01-12 11:45:45 +000025#define Py_PROTO(x) ()
Guido van Rossum60a578a1993-12-24 10:32:48 +000026#endif
27
Guido van Rossumcaa63801995-01-12 11:45:45 +000028#ifndef Py_FPROTO
29#define Py_FPROTO(x) Py_PROTO(x)
Guido van Rossum60a578a1993-12-24 10:32:48 +000030#endif
31
32#ifdef __cplusplus
33}
34#endif
Guido van Rossumcaa63801995-01-12 11:45:45 +000035
Guido van Rossum60a578a1993-12-24 10:32:48 +000036#endif /* !Py_PROTO_H */