From 7829d195d5a53618b0d8f0c19ebc669ab03831c4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 28 Jul 1993 09:05:47 +0000 Subject: * 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++. --- Include/structmember.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Include/structmember.h') diff --git a/Include/structmember.h b/Include/structmember.h index 425300c084..2462aa7833 100644 --- a/Include/structmember.h +++ b/Include/structmember.h @@ -1,3 +1,9 @@ +#ifndef Py_STRUCTMEMBER_H +#define Py_STRUCTMEMBER_H +#ifdef __cplusplus +extern "C" { +#endif + /*********************************************************** Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. @@ -70,3 +76,8 @@ struct memberlist { object *getmember PROTO((char *, struct memberlist *, char *)); int setmember PROTO((char *, struct memberlist *, char *, object *)); + +#ifdef __cplusplus +} +#endif +#endif /* !Py_STRUCTMEMBER_H */ -- cgit v1.2.1