diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 16:13:35 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 16:13:35 (GMT) |
commit | e48cef7aba0993ca6d01579f62900f0596960885 (patch) | |
tree | 008187dc4bba4fdd74ebca680bdef67e589527e9 /Mac/Modules/dlg | |
parent | 10d176f77e04ad95c3e501f8b65a0b9ad931a098 (diff) | |
download | cpython-e48cef7aba0993ca6d01579f62900f0596960885.zip cpython-e48cef7aba0993ca6d01579f62900f0596960885.tar.gz cpython-e48cef7aba0993ca6d01579f62900f0596960885.tar.bz2 |
Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:
MacOS9isms.
Diffstat (limited to 'Mac/Modules/dlg')
-rw-r--r-- | Mac/Modules/dlg/_Dlgmodule.c | 4 | ||||
-rw-r--r-- | Mac/Modules/dlg/dlgsupport.py | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/Mac/Modules/dlg/_Dlgmodule.c b/Mac/Modules/dlg/_Dlgmodule.c index 3e0bc6d..966e1ff 100644 --- a/Mac/Modules/dlg/_Dlgmodule.c +++ b/Mac/Modules/dlg/_Dlgmodule.c @@ -20,11 +20,7 @@ }} while(0) -#ifdef WITHOUT_FRAMEWORKS -#include <Dialogs.h> -#else #include <Carbon/Carbon.h> -#endif #ifdef USE_TOOLBOX_OBJECT_GLUE extern PyObject *_DlgObj_New(DialogRef); diff --git a/Mac/Modules/dlg/dlgsupport.py b/Mac/Modules/dlg/dlgsupport.py index 1b561d9..85bc607 100644 --- a/Mac/Modules/dlg/dlgsupport.py +++ b/Mac/Modules/dlg/dlgsupport.py @@ -31,11 +31,7 @@ StringPtr = Str255 EventMask = Type("EventMask", "H") includestuff = includestuff + """ -#ifdef WITHOUT_FRAMEWORKS -#include <Dialogs.h> -#else #include <Carbon/Carbon.h> -#endif #ifdef USE_TOOLBOX_OBJECT_GLUE extern PyObject *_DlgObj_New(DialogRef); |