diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-09-30 11:14:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-09-30 11:14:49 (GMT) |
commit | c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5 (patch) | |
tree | dc38017d73c2d87b62f60fe765d732269045acd8 | |
parent | 9a41aa8a5a48ab418dfea5c1494b71b039ca7cd0 (diff) | |
download | cpython-c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5.zip cpython-c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5.tar.gz cpython-c7fda7e195da7a21f2c97687c8fd8bcc25ef73b5.tar.bz2 |
Make macglue.h C++ compatible.
-rw-r--r-- | Mac/Include/macglue.h | 7 |
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 |