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/cf | |
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/cf')
-rw-r--r-- | Mac/Modules/cf/_CFmodule.c | 11 | ||||
-rw-r--r-- | Mac/Modules/cf/cfsupport.py | 11 | ||||
-rw-r--r-- | Mac/Modules/cf/pycfbridge.c | 10 |
3 files changed, 0 insertions, 32 deletions
diff --git a/Mac/Modules/cf/_CFmodule.c b/Mac/Modules/cf/_CFmodule.c index d6dba45..8a82d2b 100644 --- a/Mac/Modules/cf/_CFmodule.c +++ b/Mac/Modules/cf/_CFmodule.c @@ -20,18 +20,7 @@ }} while(0) -#ifdef WITHOUT_FRAMEWORKS -#include <CFBase.h> -#include <CFArray.h> -#include <CFData.h> -#include <CFDictionary.h> -#include <CFString.h> -#include <CFURL.h> -#include <CFPropertyList.h> -#include <CFPreferences.h> -#else #include <CoreServices/CoreServices.h> -#endif #include "pycfbridge.h" diff --git a/Mac/Modules/cf/cfsupport.py b/Mac/Modules/cf/cfsupport.py index f27c58b..e68ae03 100644 --- a/Mac/Modules/cf/cfsupport.py +++ b/Mac/Modules/cf/cfsupport.py @@ -42,18 +42,7 @@ class MethodSkipArg1(MethodGenerator): # Create the type objects includestuff = includestuff + """ -#ifdef WITHOUT_FRAMEWORKS -#include <CFBase.h> -#include <CFArray.h> -#include <CFData.h> -#include <CFDictionary.h> -#include <CFString.h> -#include <CFURL.h> -#include <CFPropertyList.h> -#include <CFPreferences.h> -#else #include <CoreServices/CoreServices.h> -#endif #include "pycfbridge.h" diff --git a/Mac/Modules/cf/pycfbridge.c b/Mac/Modules/cf/pycfbridge.c index 21a9522..3e4b89a 100644 --- a/Mac/Modules/cf/pycfbridge.c +++ b/Mac/Modules/cf/pycfbridge.c @@ -2,17 +2,7 @@ ** Convert objects from Python to CoreFoundation and vice-versa. */ -#ifdef WITHOUT_FRAMEWORKS -#include <CFBase.h> -#include <CFNumber.h> -#include <CFArray.h> -#include <CFData.h> -#include <CFDictionary.h> -#include <CFString.h> -#include <CFURL.h> -#else #include <CoreServices/CoreServices.h> -#endif #include "Python.h" #include "macglue.h" |