cpython/Include/myproto.h

37 lines
860 B
C
Raw Normal View History

1993-12-24 10:32:48 +00:00
#ifndef Py_PROTO_H
#define Py_PROTO_H
#ifdef __cplusplus
extern "C" {
#endif
/***********************************************************
2000-06-30 23:50:40 +00:00
Copyright (c) 2000, BeOpen.com.
Copyright (c) 1995-2000, Corporation for National Research Initiatives.
Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
All rights reserved.
See the file "Misc/COPYRIGHT" for information on usage and
redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1993-12-24 10:32:48 +00:00
******************************************************************/
/***************************************
THIS FILE IS OBSOLETE
DON'T USE Py_PROTO or Py_FPROTO anymore.
***************************************/
1993-12-24 10:32:48 +00:00
#ifdef HAVE_PROTOTYPES
#define Py_PROTO(x) x
1993-12-24 10:32:48 +00:00
#else
#define Py_PROTO(x) ()
1993-12-24 10:32:48 +00:00
#endif
#ifndef Py_FPROTO
#define Py_FPROTO(x) Py_PROTO(x)
1993-12-24 10:32:48 +00:00
#endif
#ifdef __cplusplus
}
#endif
1993-12-24 10:32:48 +00:00
#endif /* !Py_PROTO_H */