Mercurial > cpython-lru_cache-weakref
diff Include/errors.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 | 9fed5726a36d |
| children | 1940892d2fe3 |
line wrap: on
line diff
--- a/Include/errors.h Mon Jul 26 15:24:57 1993 +0000 +++ b/Include/errors.h Wed Jul 28 09:05:47 1993 +0000 @@ -1,3 +1,9 @@ +#ifndef Py_ERRORS_H +#define Py_ERRORS_H +#ifdef __cplusplus +extern "C" { +#endif + /*********************************************************** Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. @@ -63,3 +69,8 @@ extern void err_badcall PROTO((void)); extern object *err_getexc PROTO((void)); + +#ifdef __cplusplus +} +#endif +#endif /* !Py_ERRORS_H */
