summaryrefslogtreecommitdiff
path: root/Mac/Modules/cf/cfscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-05-13 21:21:49 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-05-13 21:21:49 +0000
commit23be1ceb512ad8244dfd08b97e6a0dab8404f213 (patch)
tree45ad70a7aacfcff8beed2136fc44a4eb08db248d /Mac/Modules/cf/cfscan.py
parent4402241450fe679a3cc90e4491aaabee232bb4e2 (diff)
downloadcpython-git-23be1ceb512ad8244dfd08b97e6a0dab8404f213.tar.gz
Added CFPreferences support. Added these as functions, not methods, which seemed counter-intuitive.
Diffstat (limited to 'Mac/Modules/cf/cfscan.py')
-rw-r--r--Mac/Modules/cf/cfscan.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/cf/cfscan.py b/Mac/Modules/cf/cfscan.py
index ebaeed886b..85178e4006 100644
--- a/Mac/Modules/cf/cfscan.py
+++ b/Mac/Modules/cf/cfscan.py
@@ -31,7 +31,7 @@ def main():
"CFDictionary.h",
## "CFNumber.h",
## "CFPlugIn.h",
-## "CFPreferences.h",
+ "CFPreferences.h",
"CFPropertyList.h",
## "CFSet.h",
"CFString.h",
@@ -54,7 +54,7 @@ class MyScanner(Scanner_OSX):
def destination(self, type, name, arglist):
classname = "Function"
listname = "functions"
- if arglist:
+ if arglist and name[:13] != 'CFPreferences':
t, n, m = arglist[0]
if t in OBJECTS and m == "InMode":
classname = "Method"