- Get data from CFData objects as Python strings and vv.
- Started on supporting CFPropertyLists.
diff --git a/Mac/Modules/cf/cfscan.py b/Mac/Modules/cf/cfscan.py
index be11dba..d6613ae 100644
--- a/Mac/Modules/cf/cfscan.py
+++ b/Mac/Modules/cf/cfscan.py
@@ -15,6 +15,7 @@
"CFDictionaryRef", "CFMutableDictionaryRef",
"CFStringRef", "CFMutableStringRef",
"CFURLRef",
+## "CFPropertyListRef",
)
# ADD object typenames here
@@ -31,7 +32,7 @@
## "CFNumber.h",
## "CFPlugIn.h",
## "CFPreferences.h",
-## "CFPropertyList.h",
+ "CFPropertyList.h",
## "CFSet.h",
"CFString.h",
## "CFStringEncodingExt.h",
@@ -130,6 +131,9 @@
([("CFURLRef", "baseURL", "InMode")],
[("OptionalCFURLRef", "*", "*")]),
+ # We handle CFPropertyListRef objects as plain CFTypeRef
+ ([("CFPropertyListRef", "*", "*")],
+ [("CFTypeRef", "*", "*")]),
]
if __name__ == "__main__":