Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.

Bugfix candidate.
This commit is contained in:
Jack Jansen 2002-09-10 12:32:47 +00:00
parent 2575022aef
commit 47ec141963
5 changed files with 40 additions and 2 deletions

View file

@ -1,7 +1,8 @@
/*
** pymactoolbox.h - globals defined in mactoolboxglue.c
*/
#ifndef Py_PYMACTOOLBOX_H
#define Py_PYMACTOOLBOX_H
#ifdef __cplusplus
extern "C" {
#endif
@ -197,3 +198,4 @@ extern int OptionalCFURLRefObj_Convert(PyObject *, CFURLRef *);
#ifdef __cplusplus
}
#endif
#endif