Bugfix candidate.
/*
** pymactoolbox.h - globals defined in mactoolboxglue.c
*/
-
+#ifndef Py_PYMACTOOLBOX_H
+#define Py_PYMACTOOLBOX_H
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
+#endif
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
+#ifndef Py_GETAPPLBYCREATOR_H
+#define Py_GETALLPBYCREATOR_H
#ifdef WITHOUT_FRAMEWORKS
#include <Types.h>
#include <Carbon/Carbon.h>
#endif
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
extern OSErr FindApplicationFromCreator(OSType, FSSpecPtr);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
look-alike file system access functions on the Macintosh.
Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).
*/
+#ifndef Py_MACDEFS_H
+#define Py_MACDEFS_H
#include <Types.h>
#include <Files.h>
#include <TextUtils.h>
#endif
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
/* We may be able to use a std routine in think, don't know */
extern unsigned char *Pstring(char *);
extern char *getbootvol(void);
#endif
#define EOS '\0'
#define SEP ':'
+
+#ifdef __cplusplus
+}
+#endif
+#endif
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-
+#ifndef Py_MACGLUE_H
+#define Py_MACGLUE_H
#ifdef WITHOUT_FRAMEWORKS
#include <Types.h>
#include <Files.h>
#ifdef __cplusplus
}
#endif
+#endif
** Resources that reside in the python executable (or, for
** shared ppc python, in the core dynamic library)
*/
+#ifndef Py_PYTHONRESOURCES_H
+#define Py_PYTHONRESOURCES_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
#define BASE_ID 228
/* from macmain.c: */
extern PyMac_PrefRecord PyMac_options;
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif