diff options
Diffstat (limited to 'Mac/Include')
-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 |