[Python-checkins] python/dist/src/Mac/Modules/cf cfscan.py,1.7,1.8
jackjansen@sourceforge.net
jackjansen@sourceforge.net
Fri, 10 May 2002 15:51:54 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules/cf
In directory usw-pr-cvs1:/tmp/cvs-serv16856/Python/Mac/Modules/cf
Modified Files:
cfscan.py
Log Message:
- Get data from CFData objects as Python strings and vv.
- Started on supporting CFPropertyLists.
Index: cfscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cf/cfscan.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** cfscan.py 24 Mar 2002 23:01:44 -0000 1.7
--- cfscan.py 10 May 2002 22:51:52 -0000 1.8
***************
*** 16,19 ****
--- 16,20 ----
"CFStringRef", "CFMutableStringRef",
"CFURLRef",
+ ## "CFPropertyListRef",
)
# ADD object typenames here
***************
*** 32,36 ****
## "CFPlugIn.h",
## "CFPreferences.h",
! ## "CFPropertyList.h",
## "CFSet.h",
"CFString.h",
--- 33,37 ----
## "CFPlugIn.h",
## "CFPreferences.h",
! "CFPropertyList.h",
## "CFSet.h",
"CFString.h",
***************
*** 131,134 ****
--- 132,138 ----
[("OptionalCFURLRef", "*", "*")]),
+ # We handle CFPropertyListRef objects as plain CFTypeRef
+ ([("CFPropertyListRef", "*", "*")],
+ [("CFTypeRef", "*", "*")]),
]