summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-09-30 11:14:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-09-30 11:14:49 (GMT)
commitc7fda7e195da7a21f2c97687c8fd8bcc25ef73b5 (patch)
treedc38017d73c2d87b62f60fe765d732269045acd8 /Mac
parent9a41aa8a5a48ab418dfea5c1494b71b039ca7cd0 (diff)
downloadcpython-c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5.zip
cpython-c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5.tar.gz
cpython-c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5.tar.bz2
Make macglue.h C++ compatible.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Include/macglue.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index ffd11e1..b40d18a 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -31,6 +31,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <Events.h>
#include <StandardFile.h>
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
/* Scheduler parameters */
typedef struct {
int check_interrupt; /* if true check for command-dot */
@@ -124,3 +128,6 @@ void PyMac_Initialize(void); /* Initialize function for embedding Python */
long getfiletype(char *); /* Get file type */
int setfiletype(char *, long, long); /* Set file creator and type */
+#ifdef __cplusplus
+ }
+#endif