Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 1329:519c25039c6a legacy-trunk
* Added support for X11 modules.
* Makefile: change location of FORMS library.
* posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
* Almost all .h files: added CPP magic to avoid duplicate inclusions and
to support inclusion from C++.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 28 Jul 1993 09:05:47 +0000 |
| parents | 6ee380349c84 |
| children | 7c3245c18677 |
line wrap: on
line diff
--- a/Include/pythonrun.h Mon Jul 26 15:24:57 1993 +0000 +++ b/Include/pythonrun.h Wed Jul 28 09:05:47 1993 +0000 @@ -1,3 +1,9 @@ +#ifndef Py_PYTHONRUN_H +#define Py_PYTHONRUN_H +#ifdef __cplusplus +extern "C" { +#endif + /*********************************************************** Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. @@ -48,3 +54,8 @@ void print_error PROTO((void)); void goaway PROTO((int)); + +#ifdef __cplusplus +} +#endif +#endif /* !Py_PYTHONRUN_H */
