mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Added CFPreferences support. Added these as functions, not methods, which seemed counter-intuitive.
This commit is contained in:
parent
4402241450
commit
23be1ceb51
3 changed files with 372 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue