diff options
Diffstat (limited to 'Mac/Modules/ibcarbon')
-rw-r--r-- | Mac/Modules/ibcarbon/IBCarbonsupport.py | 5 | ||||
-rw-r--r-- | Mac/Modules/ibcarbon/_IBCarbon.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/Mac/Modules/ibcarbon/IBCarbonsupport.py b/Mac/Modules/ibcarbon/IBCarbonsupport.py index 04d4bc1..5d07be1 100644 --- a/Mac/Modules/ibcarbon/IBCarbonsupport.py +++ b/Mac/Modules/ibcarbon/IBCarbonsupport.py @@ -10,15 +10,12 @@ IBCarbonMethod = OSErrMethodGenerator includestuff = """ #include <Carbon/Carbon.h> -#include "macglue.h" +#include "pymactoolbox.h" #ifdef USE_TOOLBOX_OBJECT_GLUE extern int _CFStringRefObj_Convert(PyObject *, CFStringRef *); -//#define CFStringRefObj_Convert _CFStringRefObj_Convert #endif -//extern int CFBundleRefObj_Convert(PyObject *, CFBundleRef *); // need to wrap CFBundle - """ initstuff = """ diff --git a/Mac/Modules/ibcarbon/_IBCarbon.c b/Mac/Modules/ibcarbon/_IBCarbon.c index 1d50db2..ce120c3 100644 --- a/Mac/Modules/ibcarbon/_IBCarbon.c +++ b/Mac/Modules/ibcarbon/_IBCarbon.c @@ -6,15 +6,12 @@ #include <Carbon/Carbon.h> -#include "macglue.h" +#include "pymactoolbox.h" #ifdef USE_TOOLBOX_OBJECT_GLUE extern int _CFStringRefObj_Convert(PyObject *, CFStringRef *); -//#define CFStringRefObj_Convert _CFStringRefObj_Convert #endif -//extern int CFBundleRefObj_Convert(PyObject *, CFBundleRef *); // need to wrap CFBundle - static PyObject *IBCarbon_Error; |