[Python-checkins] python/dist/src/Mac/Modules/cf _CFmodule.c,1.15,1.16

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 16 Aug 2002 02:09:52 -0700


Update of /cvsroot/python/python/dist/src/Mac/Modules/cf
In directory usw-pr-cvs1:/tmp/cvs-serv18405/cf

Modified Files:
	_CFmodule.c 
Log Message:
Regenerated with PyDoc_STR() around docstrings.


Index: _CFmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cf/_CFmodule.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** _CFmodule.c	13 May 2002 21:21:38 -0000	1.15
--- _CFmodule.c	16 Aug 2002 09:09:16 -0000	1.16
***************
*** 361,387 ****
  static PyMethodDef CFTypeRefObj_methods[] = {
  	{"CFGetTypeID", (PyCFunction)CFTypeRefObj_CFGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFRetain", (PyCFunction)CFTypeRefObj_CFRetain, 1,
! 	 "() -> (CFTypeRef _rv)"},
  	{"CFRelease", (PyCFunction)CFTypeRefObj_CFRelease, 1,
! 	 "() -> None"},
  	{"CFGetRetainCount", (PyCFunction)CFTypeRefObj_CFGetRetainCount, 1,
! 	 "() -> (CFIndex _rv)"},
  	{"CFEqual", (PyCFunction)CFTypeRefObj_CFEqual, 1,
! 	 "(CFTypeRef cf2) -> (Boolean _rv)"},
  	{"CFHash", (PyCFunction)CFTypeRefObj_CFHash, 1,
! 	 "() -> (CFHashCode _rv)"},
  	{"CFCopyDescription", (PyCFunction)CFTypeRefObj_CFCopyDescription, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFPropertyListCreateXMLData", (PyCFunction)CFTypeRefObj_CFPropertyListCreateXMLData, 1,
! 	 "() -> (CFDataRef _rv)"},
  	{"CFPropertyListCreateDeepCopy", (PyCFunction)CFTypeRefObj_CFPropertyListCreateDeepCopy, 1,
! 	 "(CFOptionFlags mutabilityOption) -> (CFTypeRef _rv)"},
  	{"CFShow", (PyCFunction)CFTypeRefObj_CFShow, 1,
! 	 "() -> None"},
  	{"CFPropertyListCreateFromXMLData", (PyCFunction)CFTypeRefObj_CFPropertyListCreateFromXMLData, 1,
! 	 "(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)"},
  	{"toPython", (PyCFunction)CFTypeRefObj_toPython, 1,
! 	 "() -> (python_object)"},
  	{NULL, NULL, 0}
  };
--- 361,387 ----
  static PyMethodDef CFTypeRefObj_methods[] = {
  	{"CFGetTypeID", (PyCFunction)CFTypeRefObj_CFGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFRetain", (PyCFunction)CFTypeRefObj_CFRetain, 1,
! 	 PyDoc_STR("() -> (CFTypeRef _rv)")},
  	{"CFRelease", (PyCFunction)CFTypeRefObj_CFRelease, 1,
! 	 PyDoc_STR("() -> None")},
  	{"CFGetRetainCount", (PyCFunction)CFTypeRefObj_CFGetRetainCount, 1,
! 	 PyDoc_STR("() -> (CFIndex _rv)")},
  	{"CFEqual", (PyCFunction)CFTypeRefObj_CFEqual, 1,
! 	 PyDoc_STR("(CFTypeRef cf2) -> (Boolean _rv)")},
  	{"CFHash", (PyCFunction)CFTypeRefObj_CFHash, 1,
! 	 PyDoc_STR("() -> (CFHashCode _rv)")},
  	{"CFCopyDescription", (PyCFunction)CFTypeRefObj_CFCopyDescription, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFPropertyListCreateXMLData", (PyCFunction)CFTypeRefObj_CFPropertyListCreateXMLData, 1,
! 	 PyDoc_STR("() -> (CFDataRef _rv)")},
  	{"CFPropertyListCreateDeepCopy", (PyCFunction)CFTypeRefObj_CFPropertyListCreateDeepCopy, 1,
! 	 PyDoc_STR("(CFOptionFlags mutabilityOption) -> (CFTypeRef _rv)")},
  	{"CFShow", (PyCFunction)CFTypeRefObj_CFShow, 1,
! 	 PyDoc_STR("() -> None")},
  	{"CFPropertyListCreateFromXMLData", (PyCFunction)CFTypeRefObj_CFPropertyListCreateFromXMLData, 1,
! 	 PyDoc_STR("(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)")},
  	{"toPython", (PyCFunction)CFTypeRefObj_toPython, 1,
! 	 PyDoc_STR("() -> (python_object)")},
  	{NULL, NULL, 0}
  };
***************
*** 535,543 ****
  static PyMethodDef CFArrayRefObj_methods[] = {
  	{"CFArrayCreateCopy", (PyCFunction)CFArrayRefObj_CFArrayCreateCopy, 1,
! 	 "() -> (CFArrayRef _rv)"},
  	{"CFArrayGetCount", (PyCFunction)CFArrayRefObj_CFArrayGetCount, 1,
! 	 "() -> (CFIndex _rv)"},
  	{"CFStringCreateByCombiningStrings", (PyCFunction)CFArrayRefObj_CFStringCreateByCombiningStrings, 1,
! 	 "(CFStringRef separatorString) -> (CFStringRef _rv)"},
  	{NULL, NULL, 0}
  };
--- 535,543 ----
  static PyMethodDef CFArrayRefObj_methods[] = {
  	{"CFArrayCreateCopy", (PyCFunction)CFArrayRefObj_CFArrayCreateCopy, 1,
! 	 PyDoc_STR("() -> (CFArrayRef _rv)")},
  	{"CFArrayGetCount", (PyCFunction)CFArrayRefObj_CFArrayGetCount, 1,
! 	 PyDoc_STR("() -> (CFIndex _rv)")},
  	{"CFStringCreateByCombiningStrings", (PyCFunction)CFArrayRefObj_CFStringCreateByCombiningStrings, 1,
! 	 PyDoc_STR("(CFStringRef separatorString) -> (CFStringRef _rv)")},
  	{NULL, NULL, 0}
  };
***************
*** 718,728 ****
  static PyMethodDef CFMutableArrayRefObj_methods[] = {
  	{"CFArrayRemoveValueAtIndex", (PyCFunction)CFMutableArrayRefObj_CFArrayRemoveValueAtIndex, 1,
! 	 "(CFIndex idx) -> None"},
  	{"CFArrayRemoveAllValues", (PyCFunction)CFMutableArrayRefObj_CFArrayRemoveAllValues, 1,
! 	 "() -> None"},
  	{"CFArrayExchangeValuesAtIndices", (PyCFunction)CFMutableArrayRefObj_CFArrayExchangeValuesAtIndices, 1,
! 	 "(CFIndex idx1, CFIndex idx2) -> None"},
  	{"CFArrayAppendArray", (PyCFunction)CFMutableArrayRefObj_CFArrayAppendArray, 1,
! 	 "(CFArrayRef otherArray, CFRange otherRange) -> None"},
  	{NULL, NULL, 0}
  };
--- 718,728 ----
  static PyMethodDef CFMutableArrayRefObj_methods[] = {
  	{"CFArrayRemoveValueAtIndex", (PyCFunction)CFMutableArrayRefObj_CFArrayRemoveValueAtIndex, 1,
! 	 PyDoc_STR("(CFIndex idx) -> None")},
  	{"CFArrayRemoveAllValues", (PyCFunction)CFMutableArrayRefObj_CFArrayRemoveAllValues, 1,
! 	 PyDoc_STR("() -> None")},
  	{"CFArrayExchangeValuesAtIndices", (PyCFunction)CFMutableArrayRefObj_CFArrayExchangeValuesAtIndices, 1,
! 	 PyDoc_STR("(CFIndex idx1, CFIndex idx2) -> None")},
  	{"CFArrayAppendArray", (PyCFunction)CFMutableArrayRefObj_CFArrayAppendArray, 1,
! 	 PyDoc_STR("(CFArrayRef otherArray, CFRange otherRange) -> None")},
  	{NULL, NULL, 0}
  };
***************
*** 860,866 ****
  static PyMethodDef CFDictionaryRefObj_methods[] = {
  	{"CFDictionaryCreateCopy", (PyCFunction)CFDictionaryRefObj_CFDictionaryCreateCopy, 1,
! 	 "() -> (CFDictionaryRef _rv)"},
  	{"CFDictionaryGetCount", (PyCFunction)CFDictionaryRefObj_CFDictionaryGetCount, 1,
! 	 "() -> (CFIndex _rv)"},
  	{NULL, NULL, 0}
  };
--- 860,866 ----
  static PyMethodDef CFDictionaryRefObj_methods[] = {
  	{"CFDictionaryCreateCopy", (PyCFunction)CFDictionaryRefObj_CFDictionaryCreateCopy, 1,
! 	 PyDoc_STR("() -> (CFDictionaryRef _rv)")},
  	{"CFDictionaryGetCount", (PyCFunction)CFDictionaryRefObj_CFDictionaryGetCount, 1,
! 	 PyDoc_STR("() -> (CFIndex _rv)")},
  	{NULL, NULL, 0}
  };
***************
*** 984,988 ****
  static PyMethodDef CFMutableDictionaryRefObj_methods[] = {
  	{"CFDictionaryRemoveAllValues", (PyCFunction)CFMutableDictionaryRefObj_CFDictionaryRemoveAllValues, 1,
! 	 "() -> None"},
  	{NULL, NULL, 0}
  };
--- 984,988 ----
  static PyMethodDef CFMutableDictionaryRefObj_methods[] = {
  	{"CFDictionaryRemoveAllValues", (PyCFunction)CFMutableDictionaryRefObj_CFDictionaryRemoveAllValues, 1,
! 	 PyDoc_STR("() -> None")},
  	{NULL, NULL, 0}
  };
***************
*** 1154,1164 ****
  static PyMethodDef CFDataRefObj_methods[] = {
  	{"CFDataCreateCopy", (PyCFunction)CFDataRefObj_CFDataCreateCopy, 1,
! 	 "() -> (CFDataRef _rv)"},
  	{"CFDataGetLength", (PyCFunction)CFDataRefObj_CFDataGetLength, 1,
! 	 "() -> (CFIndex _rv)"},
  	{"CFStringCreateFromExternalRepresentation", (PyCFunction)CFDataRefObj_CFStringCreateFromExternalRepresentation, 1,
! 	 "(CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFDataGetData", (PyCFunction)CFDataRefObj_CFDataGetData, 1,
! 	 "() -> (string _rv)"},
  	{NULL, NULL, 0}
  };
--- 1154,1164 ----
  static PyMethodDef CFDataRefObj_methods[] = {
  	{"CFDataCreateCopy", (PyCFunction)CFDataRefObj_CFDataCreateCopy, 1,
! 	 PyDoc_STR("() -> (CFDataRef _rv)")},
  	{"CFDataGetLength", (PyCFunction)CFDataRefObj_CFDataGetLength, 1,
! 	 PyDoc_STR("() -> (CFIndex _rv)")},
  	{"CFStringCreateFromExternalRepresentation", (PyCFunction)CFDataRefObj_CFStringCreateFromExternalRepresentation, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFDataGetData", (PyCFunction)CFDataRefObj_CFDataGetData, 1,
! 	 PyDoc_STR("() -> (string _rv)")},
  	{NULL, NULL, 0}
  };
***************
*** 1362,1374 ****
  static PyMethodDef CFMutableDataRefObj_methods[] = {
  	{"CFDataSetLength", (PyCFunction)CFMutableDataRefObj_CFDataSetLength, 1,
! 	 "(CFIndex length) -> None"},
  	{"CFDataIncreaseLength", (PyCFunction)CFMutableDataRefObj_CFDataIncreaseLength, 1,
! 	 "(CFIndex extraLength) -> None"},
  	{"CFDataAppendBytes", (PyCFunction)CFMutableDataRefObj_CFDataAppendBytes, 1,
! 	 "(Buffer bytes) -> None"},
  	{"CFDataReplaceBytes", (PyCFunction)CFMutableDataRefObj_CFDataReplaceBytes, 1,
! 	 "(CFRange range, Buffer newBytes) -> None"},
  	{"CFDataDeleteBytes", (PyCFunction)CFMutableDataRefObj_CFDataDeleteBytes, 1,
! 	 "(CFRange range) -> None"},
  	{NULL, NULL, 0}
  };
--- 1362,1374 ----
  static PyMethodDef CFMutableDataRefObj_methods[] = {
  	{"CFDataSetLength", (PyCFunction)CFMutableDataRefObj_CFDataSetLength, 1,
! 	 PyDoc_STR("(CFIndex length) -> None")},
  	{"CFDataIncreaseLength", (PyCFunction)CFMutableDataRefObj_CFDataIncreaseLength, 1,
! 	 PyDoc_STR("(CFIndex extraLength) -> None")},
  	{"CFDataAppendBytes", (PyCFunction)CFMutableDataRefObj_CFDataAppendBytes, 1,
! 	 PyDoc_STR("(Buffer bytes) -> None")},
  	{"CFDataReplaceBytes", (PyCFunction)CFMutableDataRefObj_CFDataReplaceBytes, 1,
! 	 PyDoc_STR("(CFRange range, Buffer newBytes) -> None")},
  	{"CFDataDeleteBytes", (PyCFunction)CFMutableDataRefObj_CFDataDeleteBytes, 1,
! 	 PyDoc_STR("(CFRange range) -> None")},
  	{NULL, NULL, 0}
  };
***************
*** 2003,2059 ****
  static PyMethodDef CFStringRefObj_methods[] = {
  	{"CFStringCreateWithSubstring", (PyCFunction)CFStringRefObj_CFStringCreateWithSubstring, 1,
! 	 "(CFRange range) -> (CFStringRef _rv)"},
  	{"CFStringCreateCopy", (PyCFunction)CFStringRefObj_CFStringCreateCopy, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFStringGetLength", (PyCFunction)CFStringRefObj_CFStringGetLength, 1,
! 	 "() -> (CFIndex _rv)"},
  	{"CFStringGetBytes", (PyCFunction)CFStringRefObj_CFStringGetBytes, 1,
! 	 "(CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, CFIndex maxBufLen) -> (CFIndex _rv, UInt8 buffer, CFIndex usedBufLen)"},
  	{"CFStringCreateExternalRepresentation", (PyCFunction)CFStringRefObj_CFStringCreateExternalRepresentation, 1,
! 	 "(CFStringEncoding encoding, UInt8 lossByte) -> (CFDataRef _rv)"},
  	{"CFStringGetSmallestEncoding", (PyCFunction)CFStringRefObj_CFStringGetSmallestEncoding, 1,
! 	 "() -> (CFStringEncoding _rv)"},
  	{"CFStringGetFastestEncoding", (PyCFunction)CFStringRefObj_CFStringGetFastestEncoding, 1,
! 	 "() -> (CFStringEncoding _rv)"},
  	{"CFStringCompareWithOptions", (PyCFunction)CFStringRefObj_CFStringCompareWithOptions, 1,
! 	 "(CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)"},
  	{"CFStringCompare", (PyCFunction)CFStringRefObj_CFStringCompare, 1,
! 	 "(CFStringRef theString2, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)"},
  	{"CFStringFindWithOptions", (PyCFunction)CFStringRefObj_CFStringFindWithOptions, 1,
! 	 "(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions) -> (Boolean _rv, CFRange result)"},
  	{"CFStringCreateArrayWithFindResults", (PyCFunction)CFStringRefObj_CFStringCreateArrayWithFindResults, 1,
! 	 "(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags compareOptions) -> (CFArrayRef _rv)"},
  	{"CFStringFind", (PyCFunction)CFStringRefObj_CFStringFind, 1,
! 	 "(CFStringRef stringToFind, CFOptionFlags compareOptions) -> (CFRange _rv)"},
  	{"CFStringHasPrefix", (PyCFunction)CFStringRefObj_CFStringHasPrefix, 1,
! 	 "(CFStringRef prefix) -> (Boolean _rv)"},
  	{"CFStringHasSuffix", (PyCFunction)CFStringRefObj_CFStringHasSuffix, 1,
! 	 "(CFStringRef suffix) -> (Boolean _rv)"},
  	{"CFStringGetLineBounds", (PyCFunction)CFStringRefObj_CFStringGetLineBounds, 1,
! 	 "(CFRange range) -> (CFIndex lineBeginIndex, CFIndex lineEndIndex, CFIndex contentsEndIndex)"},
  	{"CFStringCreateArrayBySeparatingStrings", (PyCFunction)CFStringRefObj_CFStringCreateArrayBySeparatingStrings, 1,
! 	 "(CFStringRef separatorString) -> (CFArrayRef _rv)"},
  	{"CFStringGetIntValue", (PyCFunction)CFStringRefObj_CFStringGetIntValue, 1,
! 	 "() -> (SInt32 _rv)"},
  	{"CFStringGetDoubleValue", (PyCFunction)CFStringRefObj_CFStringGetDoubleValue, 1,
! 	 "() -> (double _rv)"},
  	{"CFStringConvertIANACharSetNameToEncoding", (PyCFunction)CFStringRefObj_CFStringConvertIANACharSetNameToEncoding, 1,
! 	 "() -> (CFStringEncoding _rv)"},
  	{"CFShowStr", (PyCFunction)CFStringRefObj_CFShowStr, 1,
! 	 "() -> None"},
  	{"CFURLCreateWithString", (PyCFunction)CFStringRefObj_CFURLCreateWithString, 1,
! 	 "(CFURLRef baseURL) -> (CFURLRef _rv)"},
  	{"CFURLCreateWithFileSystemPath", (PyCFunction)CFStringRefObj_CFURLCreateWithFileSystemPath, 1,
! 	 "(CFURLPathStyle pathStyle, Boolean isDirectory) -> (CFURLRef _rv)"},
  	{"CFURLCreateWithFileSystemPathRelativeToBase", (PyCFunction)CFStringRefObj_CFURLCreateWithFileSystemPathRelativeToBase, 1,
! 	 "(CFURLPathStyle pathStyle, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)"},
  	{"CFURLCreateStringByReplacingPercentEscapes", (PyCFunction)CFStringRefObj_CFURLCreateStringByReplacingPercentEscapes, 1,
! 	 "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"},
  	{"CFURLCreateStringByAddingPercentEscapes", (PyCFunction)CFStringRefObj_CFURLCreateStringByAddingPercentEscapes, 1,
! 	 "(CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringGetString", (PyCFunction)CFStringRefObj_CFStringGetString, 1,
! 	 "() -> (string _rv)"},
  	{"CFStringGetUnicode", (PyCFunction)CFStringRefObj_CFStringGetUnicode, 1,
! 	 "() -> (unicode _rv)"},
  	{NULL, NULL, 0}
  };
--- 2003,2059 ----
  static PyMethodDef CFStringRefObj_methods[] = {
  	{"CFStringCreateWithSubstring", (PyCFunction)CFStringRefObj_CFStringCreateWithSubstring, 1,
! 	 PyDoc_STR("(CFRange range) -> (CFStringRef _rv)")},
  	{"CFStringCreateCopy", (PyCFunction)CFStringRefObj_CFStringCreateCopy, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFStringGetLength", (PyCFunction)CFStringRefObj_CFStringGetLength, 1,
! 	 PyDoc_STR("() -> (CFIndex _rv)")},
  	{"CFStringGetBytes", (PyCFunction)CFStringRefObj_CFStringGetBytes, 1,
! 	 PyDoc_STR("(CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, CFIndex maxBufLen) -> (CFIndex _rv, UInt8 buffer, CFIndex usedBufLen)")},
  	{"CFStringCreateExternalRepresentation", (PyCFunction)CFStringRefObj_CFStringCreateExternalRepresentation, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding, UInt8 lossByte) -> (CFDataRef _rv)")},
  	{"CFStringGetSmallestEncoding", (PyCFunction)CFStringRefObj_CFStringGetSmallestEncoding, 1,
! 	 PyDoc_STR("() -> (CFStringEncoding _rv)")},
  	{"CFStringGetFastestEncoding", (PyCFunction)CFStringRefObj_CFStringGetFastestEncoding, 1,
! 	 PyDoc_STR("() -> (CFStringEncoding _rv)")},
  	{"CFStringCompareWithOptions", (PyCFunction)CFStringRefObj_CFStringCompareWithOptions, 1,
! 	 PyDoc_STR("(CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)")},
  	{"CFStringCompare", (PyCFunction)CFStringRefObj_CFStringCompare, 1,
! 	 PyDoc_STR("(CFStringRef theString2, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)")},
  	{"CFStringFindWithOptions", (PyCFunction)CFStringRefObj_CFStringFindWithOptions, 1,
! 	 PyDoc_STR("(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions) -> (Boolean _rv, CFRange result)")},
  	{"CFStringCreateArrayWithFindResults", (PyCFunction)CFStringRefObj_CFStringCreateArrayWithFindResults, 1,
! 	 PyDoc_STR("(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags compareOptions) -> (CFArrayRef _rv)")},
  	{"CFStringFind", (PyCFunction)CFStringRefObj_CFStringFind, 1,
! 	 PyDoc_STR("(CFStringRef stringToFind, CFOptionFlags compareOptions) -> (CFRange _rv)")},
  	{"CFStringHasPrefix", (PyCFunction)CFStringRefObj_CFStringHasPrefix, 1,
! 	 PyDoc_STR("(CFStringRef prefix) -> (Boolean _rv)")},
  	{"CFStringHasSuffix", (PyCFunction)CFStringRefObj_CFStringHasSuffix, 1,
! 	 PyDoc_STR("(CFStringRef suffix) -> (Boolean _rv)")},
  	{"CFStringGetLineBounds", (PyCFunction)CFStringRefObj_CFStringGetLineBounds, 1,
! 	 PyDoc_STR("(CFRange range) -> (CFIndex lineBeginIndex, CFIndex lineEndIndex, CFIndex contentsEndIndex)")},
  	{"CFStringCreateArrayBySeparatingStrings", (PyCFunction)CFStringRefObj_CFStringCreateArrayBySeparatingStrings, 1,
! 	 PyDoc_STR("(CFStringRef separatorString) -> (CFArrayRef _rv)")},
  	{"CFStringGetIntValue", (PyCFunction)CFStringRefObj_CFStringGetIntValue, 1,
! 	 PyDoc_STR("() -> (SInt32 _rv)")},
  	{"CFStringGetDoubleValue", (PyCFunction)CFStringRefObj_CFStringGetDoubleValue, 1,
! 	 PyDoc_STR("() -> (double _rv)")},
  	{"CFStringConvertIANACharSetNameToEncoding", (PyCFunction)CFStringRefObj_CFStringConvertIANACharSetNameToEncoding, 1,
! 	 PyDoc_STR("() -> (CFStringEncoding _rv)")},
  	{"CFShowStr", (PyCFunction)CFStringRefObj_CFShowStr, 1,
! 	 PyDoc_STR("() -> None")},
  	{"CFURLCreateWithString", (PyCFunction)CFStringRefObj_CFURLCreateWithString, 1,
! 	 PyDoc_STR("(CFURLRef baseURL) -> (CFURLRef _rv)")},
  	{"CFURLCreateWithFileSystemPath", (PyCFunction)CFStringRefObj_CFURLCreateWithFileSystemPath, 1,
! 	 PyDoc_STR("(CFURLPathStyle pathStyle, Boolean isDirectory) -> (CFURLRef _rv)")},
  	{"CFURLCreateWithFileSystemPathRelativeToBase", (PyCFunction)CFStringRefObj_CFURLCreateWithFileSystemPathRelativeToBase, 1,
! 	 PyDoc_STR("(CFURLPathStyle pathStyle, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)")},
  	{"CFURLCreateStringByReplacingPercentEscapes", (PyCFunction)CFStringRefObj_CFURLCreateStringByReplacingPercentEscapes, 1,
! 	 PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")},
  	{"CFURLCreateStringByAddingPercentEscapes", (PyCFunction)CFStringRefObj_CFURLCreateStringByAddingPercentEscapes, 1,
! 	 PyDoc_STR("(CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringGetString", (PyCFunction)CFStringRefObj_CFStringGetString, 1,
! 	 PyDoc_STR("() -> (string _rv)")},
  	{"CFStringGetUnicode", (PyCFunction)CFStringRefObj_CFStringGetUnicode, 1,
! 	 PyDoc_STR("() -> (unicode _rv)")},
  	{NULL, NULL, 0}
  };
***************
*** 2368,2392 ****
  static PyMethodDef CFMutableStringRefObj_methods[] = {
  	{"CFStringAppend", (PyCFunction)CFMutableStringRefObj_CFStringAppend, 1,
! 	 "(CFStringRef appendedString) -> None"},
  	{"CFStringAppendCharacters", (PyCFunction)CFMutableStringRefObj_CFStringAppendCharacters, 1,
! 	 "(Buffer chars) -> None"},
  	{"CFStringAppendPascalString", (PyCFunction)CFMutableStringRefObj_CFStringAppendPascalString, 1,
! 	 "(Str255 pStr, CFStringEncoding encoding) -> None"},
  	{"CFStringAppendCString", (PyCFunction)CFMutableStringRefObj_CFStringAppendCString, 1,
! 	 "(char* cStr, CFStringEncoding encoding) -> None"},
  	{"CFStringInsert", (PyCFunction)CFMutableStringRefObj_CFStringInsert, 1,
! 	 "(CFIndex idx, CFStringRef insertedStr) -> None"},
  	{"CFStringDelete", (PyCFunction)CFMutableStringRefObj_CFStringDelete, 1,
! 	 "(CFRange range) -> None"},
  	{"CFStringReplace", (PyCFunction)CFMutableStringRefObj_CFStringReplace, 1,
! 	 "(CFRange range, CFStringRef replacement) -> None"},
  	{"CFStringReplaceAll", (PyCFunction)CFMutableStringRefObj_CFStringReplaceAll, 1,
! 	 "(CFStringRef replacement) -> None"},
  	{"CFStringPad", (PyCFunction)CFMutableStringRefObj_CFStringPad, 1,
! 	 "(CFStringRef padString, CFIndex length, CFIndex indexIntoPad) -> None"},
  	{"CFStringTrim", (PyCFunction)CFMutableStringRefObj_CFStringTrim, 1,
! 	 "(CFStringRef trimString) -> None"},
  	{"CFStringTrimWhitespace", (PyCFunction)CFMutableStringRefObj_CFStringTrimWhitespace, 1,
! 	 "() -> None"},
  	{NULL, NULL, 0}
  };
--- 2368,2392 ----
  static PyMethodDef CFMutableStringRefObj_methods[] = {
  	{"CFStringAppend", (PyCFunction)CFMutableStringRefObj_CFStringAppend, 1,
! 	 PyDoc_STR("(CFStringRef appendedString) -> None")},
  	{"CFStringAppendCharacters", (PyCFunction)CFMutableStringRefObj_CFStringAppendCharacters, 1,
! 	 PyDoc_STR("(Buffer chars) -> None")},
  	{"CFStringAppendPascalString", (PyCFunction)CFMutableStringRefObj_CFStringAppendPascalString, 1,
! 	 PyDoc_STR("(Str255 pStr, CFStringEncoding encoding) -> None")},
  	{"CFStringAppendCString", (PyCFunction)CFMutableStringRefObj_CFStringAppendCString, 1,
! 	 PyDoc_STR("(char* cStr, CFStringEncoding encoding) -> None")},
  	{"CFStringInsert", (PyCFunction)CFMutableStringRefObj_CFStringInsert, 1,
! 	 PyDoc_STR("(CFIndex idx, CFStringRef insertedStr) -> None")},
  	{"CFStringDelete", (PyCFunction)CFMutableStringRefObj_CFStringDelete, 1,
! 	 PyDoc_STR("(CFRange range) -> None")},
  	{"CFStringReplace", (PyCFunction)CFMutableStringRefObj_CFStringReplace, 1,
! 	 PyDoc_STR("(CFRange range, CFStringRef replacement) -> None")},
  	{"CFStringReplaceAll", (PyCFunction)CFMutableStringRefObj_CFStringReplaceAll, 1,
! 	 PyDoc_STR("(CFStringRef replacement) -> None")},
  	{"CFStringPad", (PyCFunction)CFMutableStringRefObj_CFStringPad, 1,
! 	 PyDoc_STR("(CFStringRef padString, CFIndex length, CFIndex indexIntoPad) -> None")},
  	{"CFStringTrim", (PyCFunction)CFMutableStringRefObj_CFStringTrim, 1,
! 	 PyDoc_STR("(CFStringRef trimString) -> None")},
  	{"CFStringTrimWhitespace", (PyCFunction)CFMutableStringRefObj_CFStringTrimWhitespace, 1,
! 	 PyDoc_STR("() -> None")},
  	{NULL, NULL, 0}
  };
***************
*** 2933,2989 ****
  static PyMethodDef CFURLRefObj_methods[] = {
  	{"CFURLCreateData", (PyCFunction)CFURLRefObj_CFURLCreateData, 1,
! 	 "(CFStringEncoding encoding, Boolean escapeWhitespace) -> (CFDataRef _rv)"},
  	{"CFURLGetFileSystemRepresentation", (PyCFunction)CFURLRefObj_CFURLGetFileSystemRepresentation, 1,
! 	 "(Boolean resolveAgainstBase, CFIndex maxBufLen) -> (Boolean _rv, UInt8 buffer)"},
  	{"CFURLCopyAbsoluteURL", (PyCFunction)CFURLRefObj_CFURLCopyAbsoluteURL, 1,
! 	 "() -> (CFURLRef _rv)"},
  	{"CFURLGetString", (PyCFunction)CFURLRefObj_CFURLGetString, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLGetBaseURL", (PyCFunction)CFURLRefObj_CFURLGetBaseURL, 1,
! 	 "() -> (CFURLRef _rv)"},
  	{"CFURLCanBeDecomposed", (PyCFunction)CFURLRefObj_CFURLCanBeDecomposed, 1,
! 	 "() -> (Boolean _rv)"},
  	{"CFURLCopyScheme", (PyCFunction)CFURLRefObj_CFURLCopyScheme, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyNetLocation", (PyCFunction)CFURLRefObj_CFURLCopyNetLocation, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyPath", (PyCFunction)CFURLRefObj_CFURLCopyPath, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyStrictPath", (PyCFunction)CFURLRefObj_CFURLCopyStrictPath, 1,
! 	 "() -> (CFStringRef _rv, Boolean isAbsolute)"},
  	{"CFURLCopyFileSystemPath", (PyCFunction)CFURLRefObj_CFURLCopyFileSystemPath, 1,
! 	 "(CFURLPathStyle pathStyle) -> (CFStringRef _rv)"},
  	{"CFURLHasDirectoryPath", (PyCFunction)CFURLRefObj_CFURLHasDirectoryPath, 1,
! 	 "() -> (Boolean _rv)"},
  	{"CFURLCopyResourceSpecifier", (PyCFunction)CFURLRefObj_CFURLCopyResourceSpecifier, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyHostName", (PyCFunction)CFURLRefObj_CFURLCopyHostName, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLGetPortNumber", (PyCFunction)CFURLRefObj_CFURLGetPortNumber, 1,
! 	 "() -> (SInt32 _rv)"},
  	{"CFURLCopyUserName", (PyCFunction)CFURLRefObj_CFURLCopyUserName, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyPassword", (PyCFunction)CFURLRefObj_CFURLCopyPassword, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyParameterString", (PyCFunction)CFURLRefObj_CFURLCopyParameterString, 1,
! 	 "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"},
  	{"CFURLCopyQueryString", (PyCFunction)CFURLRefObj_CFURLCopyQueryString, 1,
! 	 "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"},
  	{"CFURLCopyFragment", (PyCFunction)CFURLRefObj_CFURLCopyFragment, 1,
! 	 "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"},
  	{"CFURLCopyLastPathComponent", (PyCFunction)CFURLRefObj_CFURLCopyLastPathComponent, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCopyPathExtension", (PyCFunction)CFURLRefObj_CFURLCopyPathExtension, 1,
! 	 "() -> (CFStringRef _rv)"},
  	{"CFURLCreateCopyAppendingPathComponent", (PyCFunction)CFURLRefObj_CFURLCreateCopyAppendingPathComponent, 1,
! 	 "(CFStringRef pathComponent, Boolean isDirectory) -> (CFURLRef _rv)"},
  	{"CFURLCreateCopyDeletingLastPathComponent", (PyCFunction)CFURLRefObj_CFURLCreateCopyDeletingLastPathComponent, 1,
! 	 "() -> (CFURLRef _rv)"},
  	{"CFURLCreateCopyAppendingPathExtension", (PyCFunction)CFURLRefObj_CFURLCreateCopyAppendingPathExtension, 1,
! 	 "(CFStringRef extension) -> (CFURLRef _rv)"},
  	{"CFURLCreateCopyDeletingPathExtension", (PyCFunction)CFURLRefObj_CFURLCreateCopyDeletingPathExtension, 1,
! 	 "() -> (CFURLRef _rv)"},
  	{"CFURLGetFSRef", (PyCFunction)CFURLRefObj_CFURLGetFSRef, 1,
! 	 "() -> (Boolean _rv, FSRef fsRef)"},
  	{NULL, NULL, 0}
  };
--- 2933,2989 ----
  static PyMethodDef CFURLRefObj_methods[] = {
  	{"CFURLCreateData", (PyCFunction)CFURLRefObj_CFURLCreateData, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding, Boolean escapeWhitespace) -> (CFDataRef _rv)")},
  	{"CFURLGetFileSystemRepresentation", (PyCFunction)CFURLRefObj_CFURLGetFileSystemRepresentation, 1,
! 	 PyDoc_STR("(Boolean resolveAgainstBase, CFIndex maxBufLen) -> (Boolean _rv, UInt8 buffer)")},
  	{"CFURLCopyAbsoluteURL", (PyCFunction)CFURLRefObj_CFURLCopyAbsoluteURL, 1,
! 	 PyDoc_STR("() -> (CFURLRef _rv)")},
  	{"CFURLGetString", (PyCFunction)CFURLRefObj_CFURLGetString, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLGetBaseURL", (PyCFunction)CFURLRefObj_CFURLGetBaseURL, 1,
! 	 PyDoc_STR("() -> (CFURLRef _rv)")},
  	{"CFURLCanBeDecomposed", (PyCFunction)CFURLRefObj_CFURLCanBeDecomposed, 1,
! 	 PyDoc_STR("() -> (Boolean _rv)")},
  	{"CFURLCopyScheme", (PyCFunction)CFURLRefObj_CFURLCopyScheme, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyNetLocation", (PyCFunction)CFURLRefObj_CFURLCopyNetLocation, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyPath", (PyCFunction)CFURLRefObj_CFURLCopyPath, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyStrictPath", (PyCFunction)CFURLRefObj_CFURLCopyStrictPath, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv, Boolean isAbsolute)")},
  	{"CFURLCopyFileSystemPath", (PyCFunction)CFURLRefObj_CFURLCopyFileSystemPath, 1,
! 	 PyDoc_STR("(CFURLPathStyle pathStyle) -> (CFStringRef _rv)")},
  	{"CFURLHasDirectoryPath", (PyCFunction)CFURLRefObj_CFURLHasDirectoryPath, 1,
! 	 PyDoc_STR("() -> (Boolean _rv)")},
  	{"CFURLCopyResourceSpecifier", (PyCFunction)CFURLRefObj_CFURLCopyResourceSpecifier, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyHostName", (PyCFunction)CFURLRefObj_CFURLCopyHostName, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLGetPortNumber", (PyCFunction)CFURLRefObj_CFURLGetPortNumber, 1,
! 	 PyDoc_STR("() -> (SInt32 _rv)")},
  	{"CFURLCopyUserName", (PyCFunction)CFURLRefObj_CFURLCopyUserName, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyPassword", (PyCFunction)CFURLRefObj_CFURLCopyPassword, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyParameterString", (PyCFunction)CFURLRefObj_CFURLCopyParameterString, 1,
! 	 PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")},
  	{"CFURLCopyQueryString", (PyCFunction)CFURLRefObj_CFURLCopyQueryString, 1,
! 	 PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")},
  	{"CFURLCopyFragment", (PyCFunction)CFURLRefObj_CFURLCopyFragment, 1,
! 	 PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")},
  	{"CFURLCopyLastPathComponent", (PyCFunction)CFURLRefObj_CFURLCopyLastPathComponent, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCopyPathExtension", (PyCFunction)CFURLRefObj_CFURLCopyPathExtension, 1,
! 	 PyDoc_STR("() -> (CFStringRef _rv)")},
  	{"CFURLCreateCopyAppendingPathComponent", (PyCFunction)CFURLRefObj_CFURLCreateCopyAppendingPathComponent, 1,
! 	 PyDoc_STR("(CFStringRef pathComponent, Boolean isDirectory) -> (CFURLRef _rv)")},
  	{"CFURLCreateCopyDeletingLastPathComponent", (PyCFunction)CFURLRefObj_CFURLCreateCopyDeletingLastPathComponent, 1,
! 	 PyDoc_STR("() -> (CFURLRef _rv)")},
  	{"CFURLCreateCopyAppendingPathExtension", (PyCFunction)CFURLRefObj_CFURLCreateCopyAppendingPathExtension, 1,
! 	 PyDoc_STR("(CFStringRef extension) -> (CFURLRef _rv)")},
  	{"CFURLCreateCopyDeletingPathExtension", (PyCFunction)CFURLRefObj_CFURLCreateCopyDeletingPathExtension, 1,
! 	 PyDoc_STR("() -> (CFURLRef _rv)")},
  	{"CFURLGetFSRef", (PyCFunction)CFURLRefObj_CFURLGetFSRef, 1,
! 	 PyDoc_STR("() -> (Boolean _rv, FSRef fsRef)")},
  	{NULL, NULL, 0}
  };
***************
*** 4174,4288 ****
  static PyMethodDef CF_methods[] = {
  	{"__CFRangeMake", (PyCFunction)CF___CFRangeMake, 1,
! 	 "(CFIndex loc, CFIndex len) -> (CFRange _rv)"},
  	{"CFAllocatorGetTypeID", (PyCFunction)CF_CFAllocatorGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFAllocatorGetPreferredSizeForSize", (PyCFunction)CF_CFAllocatorGetPreferredSizeForSize, 1,
! 	 "(CFIndex size, CFOptionFlags hint) -> (CFIndex _rv)"},
  	{"CFCopyTypeIDDescription", (PyCFunction)CF_CFCopyTypeIDDescription, 1,
! 	 "(CFTypeID type_id) -> (CFStringRef _rv)"},
  	{"CFArrayGetTypeID", (PyCFunction)CF_CFArrayGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFArrayCreateMutable", (PyCFunction)CF_CFArrayCreateMutable, 1,
! 	 "(CFIndex capacity) -> (CFMutableArrayRef _rv)"},
  	{"CFArrayCreateMutableCopy", (PyCFunction)CF_CFArrayCreateMutableCopy, 1,
! 	 "(CFIndex capacity, CFArrayRef theArray) -> (CFMutableArrayRef _rv)"},
  	{"CFDataGetTypeID", (PyCFunction)CF_CFDataGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFDataCreate", (PyCFunction)CF_CFDataCreate, 1,
! 	 "(Buffer bytes) -> (CFDataRef _rv)"},
  	{"CFDataCreateWithBytesNoCopy", (PyCFunction)CF_CFDataCreateWithBytesNoCopy, 1,
! 	 "(Buffer bytes) -> (CFDataRef _rv)"},
  	{"CFDataCreateMutable", (PyCFunction)CF_CFDataCreateMutable, 1,
! 	 "(CFIndex capacity) -> (CFMutableDataRef _rv)"},
  	{"CFDataCreateMutableCopy", (PyCFunction)CF_CFDataCreateMutableCopy, 1,
! 	 "(CFIndex capacity, CFDataRef theData) -> (CFMutableDataRef _rv)"},
  	{"CFDictionaryGetTypeID", (PyCFunction)CF_CFDictionaryGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFDictionaryCreateMutable", (PyCFunction)CF_CFDictionaryCreateMutable, 1,
! 	 "(CFIndex capacity) -> (CFMutableDictionaryRef _rv)"},
  	{"CFDictionaryCreateMutableCopy", (PyCFunction)CF_CFDictionaryCreateMutableCopy, 1,
! 	 "(CFIndex capacity, CFDictionaryRef theDict) -> (CFMutableDictionaryRef _rv)"},
  	{"CFPreferencesCopyAppValue", (PyCFunction)CF_CFPreferencesCopyAppValue, 1,
! 	 "(CFStringRef key, CFStringRef applicationID) -> (CFTypeRef _rv)"},
  	{"CFPreferencesGetAppBooleanValue", (PyCFunction)CF_CFPreferencesGetAppBooleanValue, 1,
! 	 "(CFStringRef key, CFStringRef applicationID) -> (Boolean _rv, Boolean keyExistsAndHasValidFormat)"},
  	{"CFPreferencesGetAppIntegerValue", (PyCFunction)CF_CFPreferencesGetAppIntegerValue, 1,
! 	 "(CFStringRef key, CFStringRef applicationID) -> (CFIndex _rv, Boolean keyExistsAndHasValidFormat)"},
  	{"CFPreferencesSetAppValue", (PyCFunction)CF_CFPreferencesSetAppValue, 1,
! 	 "(CFStringRef key, CFTypeRef value, CFStringRef applicationID) -> None"},
  	{"CFPreferencesAddSuitePreferencesToApp", (PyCFunction)CF_CFPreferencesAddSuitePreferencesToApp, 1,
! 	 "(CFStringRef applicationID, CFStringRef suiteID) -> None"},
  	{"CFPreferencesRemoveSuitePreferencesFromApp", (PyCFunction)CF_CFPreferencesRemoveSuitePreferencesFromApp, 1,
! 	 "(CFStringRef applicationID, CFStringRef suiteID) -> None"},
  	{"CFPreferencesAppSynchronize", (PyCFunction)CF_CFPreferencesAppSynchronize, 1,
! 	 "(CFStringRef applicationID) -> (Boolean _rv)"},
  	{"CFPreferencesCopyValue", (PyCFunction)CF_CFPreferencesCopyValue, 1,
! 	 "(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFTypeRef _rv)"},
  	{"CFPreferencesCopyMultiple", (PyCFunction)CF_CFPreferencesCopyMultiple, 1,
! 	 "(CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFDictionaryRef _rv)"},
  	{"CFPreferencesSetValue", (PyCFunction)CF_CFPreferencesSetValue, 1,
! 	 "(CFStringRef key, CFTypeRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> None"},
  	{"CFPreferencesSetMultiple", (PyCFunction)CF_CFPreferencesSetMultiple, 1,
! 	 "(CFDictionaryRef keysToSet, CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> None"},
  	{"CFPreferencesSynchronize", (PyCFunction)CF_CFPreferencesSynchronize, 1,
! 	 "(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (Boolean _rv)"},
  	{"CFPreferencesCopyApplicationList", (PyCFunction)CF_CFPreferencesCopyApplicationList, 1,
! 	 "(CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)"},
  	{"CFPreferencesCopyKeyList", (PyCFunction)CF_CFPreferencesCopyKeyList, 1,
! 	 "(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)"},
  	{"CFStringGetTypeID", (PyCFunction)CF_CFStringGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFStringCreateWithPascalString", (PyCFunction)CF_CFStringCreateWithPascalString, 1,
! 	 "(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringCreateWithCString", (PyCFunction)CF_CFStringCreateWithCString, 1,
! 	 "(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringCreateWithCharacters", (PyCFunction)CF_CFStringCreateWithCharacters, 1,
! 	 "(Buffer chars) -> (CFStringRef _rv)"},
  	{"CFStringCreateWithPascalStringNoCopy", (PyCFunction)CF_CFStringCreateWithPascalStringNoCopy, 1,
! 	 "(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringCreateWithCStringNoCopy", (PyCFunction)CF_CFStringCreateWithCStringNoCopy, 1,
! 	 "(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringCreateWithCharactersNoCopy", (PyCFunction)CF_CFStringCreateWithCharactersNoCopy, 1,
! 	 "(Buffer chars) -> (CFStringRef _rv)"},
  	{"CFStringCreateMutable", (PyCFunction)CF_CFStringCreateMutable, 1,
! 	 "(CFIndex maxLength) -> (CFMutableStringRef _rv)"},
  	{"CFStringCreateMutableCopy", (PyCFunction)CF_CFStringCreateMutableCopy, 1,
! 	 "(CFIndex maxLength, CFStringRef theString) -> (CFMutableStringRef _rv)"},
  	{"CFStringCreateWithBytes", (PyCFunction)CF_CFStringCreateWithBytes, 1,
! 	 "(Buffer bytes, CFStringEncoding encoding, Boolean isExternalRepresentation) -> (CFStringRef _rv)"},
  	{"CFStringGetSystemEncoding", (PyCFunction)CF_CFStringGetSystemEncoding, 1,
! 	 "() -> (CFStringEncoding _rv)"},
  	{"CFStringGetMaximumSizeForEncoding", (PyCFunction)CF_CFStringGetMaximumSizeForEncoding, 1,
! 	 "(CFIndex length, CFStringEncoding encoding) -> (CFIndex _rv)"},
  	{"CFStringIsEncodingAvailable", (PyCFunction)CF_CFStringIsEncodingAvailable, 1,
! 	 "(CFStringEncoding encoding) -> (Boolean _rv)"},
  	{"CFStringGetNameOfEncoding", (PyCFunction)CF_CFStringGetNameOfEncoding, 1,
! 	 "(CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringConvertEncodingToNSStringEncoding", (PyCFunction)CF_CFStringConvertEncodingToNSStringEncoding, 1,
! 	 "(CFStringEncoding encoding) -> (UInt32 _rv)"},
  	{"CFStringConvertNSStringEncodingToEncoding", (PyCFunction)CF_CFStringConvertNSStringEncodingToEncoding, 1,
! 	 "(UInt32 encoding) -> (CFStringEncoding _rv)"},
  	{"CFStringConvertEncodingToWindowsCodepage", (PyCFunction)CF_CFStringConvertEncodingToWindowsCodepage, 1,
! 	 "(CFStringEncoding encoding) -> (UInt32 _rv)"},
  	{"CFStringConvertWindowsCodepageToEncoding", (PyCFunction)CF_CFStringConvertWindowsCodepageToEncoding, 1,
! 	 "(UInt32 codepage) -> (CFStringEncoding _rv)"},
  	{"CFStringConvertEncodingToIANACharSetName", (PyCFunction)CF_CFStringConvertEncodingToIANACharSetName, 1,
! 	 "(CFStringEncoding encoding) -> (CFStringRef _rv)"},
  	{"CFStringGetMostCompatibleMacStringEncoding", (PyCFunction)CF_CFStringGetMostCompatibleMacStringEncoding, 1,
! 	 "(CFStringEncoding encoding) -> (CFStringEncoding _rv)"},
  	{"__CFStringMakeConstantString", (PyCFunction)CF___CFStringMakeConstantString, 1,
! 	 "(char* cStr) -> (CFStringRef _rv)"},
  	{"CFURLGetTypeID", (PyCFunction)CF_CFURLGetTypeID, 1,
! 	 "() -> (CFTypeID _rv)"},
  	{"CFURLCreateWithBytes", (PyCFunction)CF_CFURLCreateWithBytes, 1,
! 	 "(Buffer URLBytes, CFStringEncoding encoding, CFURLRef baseURL) -> (CFURLRef _rv)"},
  	{"CFURLCreateFromFileSystemRepresentation", (PyCFunction)CF_CFURLCreateFromFileSystemRepresentation, 1,
! 	 "(Buffer buffer, Boolean isDirectory) -> (CFURLRef _rv)"},
  	{"CFURLCreateFromFileSystemRepresentationRelativeToBase", (PyCFunction)CF_CFURLCreateFromFileSystemRepresentationRelativeToBase, 1,
! 	 "(Buffer buffer, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)"},
  	{"CFURLCreateFromFSRef", (PyCFunction)CF_CFURLCreateFromFSRef, 1,
! 	 "(FSRef fsRef) -> (CFURLRef _rv)"},
  	{"toCF", (PyCFunction)CF_toCF, 1,
! 	 "(python_object) -> (CF_object)"},
  	{NULL, NULL, 0}
  };
--- 4174,4288 ----
  static PyMethodDef CF_methods[] = {
  	{"__CFRangeMake", (PyCFunction)CF___CFRangeMake, 1,
! 	 PyDoc_STR("(CFIndex loc, CFIndex len) -> (CFRange _rv)")},
  	{"CFAllocatorGetTypeID", (PyCFunction)CF_CFAllocatorGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFAllocatorGetPreferredSizeForSize", (PyCFunction)CF_CFAllocatorGetPreferredSizeForSize, 1,
! 	 PyDoc_STR("(CFIndex size, CFOptionFlags hint) -> (CFIndex _rv)")},
  	{"CFCopyTypeIDDescription", (PyCFunction)CF_CFCopyTypeIDDescription, 1,
! 	 PyDoc_STR("(CFTypeID type_id) -> (CFStringRef _rv)")},
  	{"CFArrayGetTypeID", (PyCFunction)CF_CFArrayGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFArrayCreateMutable", (PyCFunction)CF_CFArrayCreateMutable, 1,
! 	 PyDoc_STR("(CFIndex capacity) -> (CFMutableArrayRef _rv)")},
  	{"CFArrayCreateMutableCopy", (PyCFunction)CF_CFArrayCreateMutableCopy, 1,
! 	 PyDoc_STR("(CFIndex capacity, CFArrayRef theArray) -> (CFMutableArrayRef _rv)")},
  	{"CFDataGetTypeID", (PyCFunction)CF_CFDataGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFDataCreate", (PyCFunction)CF_CFDataCreate, 1,
! 	 PyDoc_STR("(Buffer bytes) -> (CFDataRef _rv)")},
  	{"CFDataCreateWithBytesNoCopy", (PyCFunction)CF_CFDataCreateWithBytesNoCopy, 1,
! 	 PyDoc_STR("(Buffer bytes) -> (CFDataRef _rv)")},
  	{"CFDataCreateMutable", (PyCFunction)CF_CFDataCreateMutable, 1,
! 	 PyDoc_STR("(CFIndex capacity) -> (CFMutableDataRef _rv)")},
  	{"CFDataCreateMutableCopy", (PyCFunction)CF_CFDataCreateMutableCopy, 1,
! 	 PyDoc_STR("(CFIndex capacity, CFDataRef theData) -> (CFMutableDataRef _rv)")},
  	{"CFDictionaryGetTypeID", (PyCFunction)CF_CFDictionaryGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFDictionaryCreateMutable", (PyCFunction)CF_CFDictionaryCreateMutable, 1,
! 	 PyDoc_STR("(CFIndex capacity) -> (CFMutableDictionaryRef _rv)")},
  	{"CFDictionaryCreateMutableCopy", (PyCFunction)CF_CFDictionaryCreateMutableCopy, 1,
! 	 PyDoc_STR("(CFIndex capacity, CFDictionaryRef theDict) -> (CFMutableDictionaryRef _rv)")},
  	{"CFPreferencesCopyAppValue", (PyCFunction)CF_CFPreferencesCopyAppValue, 1,
! 	 PyDoc_STR("(CFStringRef key, CFStringRef applicationID) -> (CFTypeRef _rv)")},
  	{"CFPreferencesGetAppBooleanValue", (PyCFunction)CF_CFPreferencesGetAppBooleanValue, 1,
! 	 PyDoc_STR("(CFStringRef key, CFStringRef applicationID) -> (Boolean _rv, Boolean keyExistsAndHasValidFormat)")},
  	{"CFPreferencesGetAppIntegerValue", (PyCFunction)CF_CFPreferencesGetAppIntegerValue, 1,
! 	 PyDoc_STR("(CFStringRef key, CFStringRef applicationID) -> (CFIndex _rv, Boolean keyExistsAndHasValidFormat)")},
  	{"CFPreferencesSetAppValue", (PyCFunction)CF_CFPreferencesSetAppValue, 1,
! 	 PyDoc_STR("(CFStringRef key, CFTypeRef value, CFStringRef applicationID) -> None")},
  	{"CFPreferencesAddSuitePreferencesToApp", (PyCFunction)CF_CFPreferencesAddSuitePreferencesToApp, 1,
! 	 PyDoc_STR("(CFStringRef applicationID, CFStringRef suiteID) -> None")},
  	{"CFPreferencesRemoveSuitePreferencesFromApp", (PyCFunction)CF_CFPreferencesRemoveSuitePreferencesFromApp, 1,
! 	 PyDoc_STR("(CFStringRef applicationID, CFStringRef suiteID) -> None")},
  	{"CFPreferencesAppSynchronize", (PyCFunction)CF_CFPreferencesAppSynchronize, 1,
! 	 PyDoc_STR("(CFStringRef applicationID) -> (Boolean _rv)")},
  	{"CFPreferencesCopyValue", (PyCFunction)CF_CFPreferencesCopyValue, 1,
! 	 PyDoc_STR("(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFTypeRef _rv)")},
  	{"CFPreferencesCopyMultiple", (PyCFunction)CF_CFPreferencesCopyMultiple, 1,
! 	 PyDoc_STR("(CFArrayRef keysToFetch, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFDictionaryRef _rv)")},
  	{"CFPreferencesSetValue", (PyCFunction)CF_CFPreferencesSetValue, 1,
! 	 PyDoc_STR("(CFStringRef key, CFTypeRef value, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> None")},
  	{"CFPreferencesSetMultiple", (PyCFunction)CF_CFPreferencesSetMultiple, 1,
! 	 PyDoc_STR("(CFDictionaryRef keysToSet, CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> None")},
  	{"CFPreferencesSynchronize", (PyCFunction)CF_CFPreferencesSynchronize, 1,
! 	 PyDoc_STR("(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (Boolean _rv)")},
  	{"CFPreferencesCopyApplicationList", (PyCFunction)CF_CFPreferencesCopyApplicationList, 1,
! 	 PyDoc_STR("(CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)")},
  	{"CFPreferencesCopyKeyList", (PyCFunction)CF_CFPreferencesCopyKeyList, 1,
! 	 PyDoc_STR("(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)")},
  	{"CFStringGetTypeID", (PyCFunction)CF_CFStringGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFStringCreateWithPascalString", (PyCFunction)CF_CFStringCreateWithPascalString, 1,
! 	 PyDoc_STR("(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringCreateWithCString", (PyCFunction)CF_CFStringCreateWithCString, 1,
! 	 PyDoc_STR("(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringCreateWithCharacters", (PyCFunction)CF_CFStringCreateWithCharacters, 1,
! 	 PyDoc_STR("(Buffer chars) -> (CFStringRef _rv)")},
  	{"CFStringCreateWithPascalStringNoCopy", (PyCFunction)CF_CFStringCreateWithPascalStringNoCopy, 1,
! 	 PyDoc_STR("(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringCreateWithCStringNoCopy", (PyCFunction)CF_CFStringCreateWithCStringNoCopy, 1,
! 	 PyDoc_STR("(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringCreateWithCharactersNoCopy", (PyCFunction)CF_CFStringCreateWithCharactersNoCopy, 1,
! 	 PyDoc_STR("(Buffer chars) -> (CFStringRef _rv)")},
  	{"CFStringCreateMutable", (PyCFunction)CF_CFStringCreateMutable, 1,
! 	 PyDoc_STR("(CFIndex maxLength) -> (CFMutableStringRef _rv)")},
  	{"CFStringCreateMutableCopy", (PyCFunction)CF_CFStringCreateMutableCopy, 1,
! 	 PyDoc_STR("(CFIndex maxLength, CFStringRef theString) -> (CFMutableStringRef _rv)")},
  	{"CFStringCreateWithBytes", (PyCFunction)CF_CFStringCreateWithBytes, 1,
! 	 PyDoc_STR("(Buffer bytes, CFStringEncoding encoding, Boolean isExternalRepresentation) -> (CFStringRef _rv)")},
  	{"CFStringGetSystemEncoding", (PyCFunction)CF_CFStringGetSystemEncoding, 1,
! 	 PyDoc_STR("() -> (CFStringEncoding _rv)")},
  	{"CFStringGetMaximumSizeForEncoding", (PyCFunction)CF_CFStringGetMaximumSizeForEncoding, 1,
! 	 PyDoc_STR("(CFIndex length, CFStringEncoding encoding) -> (CFIndex _rv)")},
  	{"CFStringIsEncodingAvailable", (PyCFunction)CF_CFStringIsEncodingAvailable, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (Boolean _rv)")},
  	{"CFStringGetNameOfEncoding", (PyCFunction)CF_CFStringGetNameOfEncoding, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringConvertEncodingToNSStringEncoding", (PyCFunction)CF_CFStringConvertEncodingToNSStringEncoding, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (UInt32 _rv)")},
  	{"CFStringConvertNSStringEncodingToEncoding", (PyCFunction)CF_CFStringConvertNSStringEncodingToEncoding, 1,
! 	 PyDoc_STR("(UInt32 encoding) -> (CFStringEncoding _rv)")},
  	{"CFStringConvertEncodingToWindowsCodepage", (PyCFunction)CF_CFStringConvertEncodingToWindowsCodepage, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (UInt32 _rv)")},
  	{"CFStringConvertWindowsCodepageToEncoding", (PyCFunction)CF_CFStringConvertWindowsCodepageToEncoding, 1,
! 	 PyDoc_STR("(UInt32 codepage) -> (CFStringEncoding _rv)")},
  	{"CFStringConvertEncodingToIANACharSetName", (PyCFunction)CF_CFStringConvertEncodingToIANACharSetName, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (CFStringRef _rv)")},
  	{"CFStringGetMostCompatibleMacStringEncoding", (PyCFunction)CF_CFStringGetMostCompatibleMacStringEncoding, 1,
! 	 PyDoc_STR("(CFStringEncoding encoding) -> (CFStringEncoding _rv)")},
  	{"__CFStringMakeConstantString", (PyCFunction)CF___CFStringMakeConstantString, 1,
! 	 PyDoc_STR("(char* cStr) -> (CFStringRef _rv)")},
  	{"CFURLGetTypeID", (PyCFunction)CF_CFURLGetTypeID, 1,
! 	 PyDoc_STR("() -> (CFTypeID _rv)")},
  	{"CFURLCreateWithBytes", (PyCFunction)CF_CFURLCreateWithBytes, 1,
! 	 PyDoc_STR("(Buffer URLBytes, CFStringEncoding encoding, CFURLRef baseURL) -> (CFURLRef _rv)")},
  	{"CFURLCreateFromFileSystemRepresentation", (PyCFunction)CF_CFURLCreateFromFileSystemRepresentation, 1,
! 	 PyDoc_STR("(Buffer buffer, Boolean isDirectory) -> (CFURLRef _rv)")},
  	{"CFURLCreateFromFileSystemRepresentationRelativeToBase", (PyCFunction)CF_CFURLCreateFromFileSystemRepresentationRelativeToBase, 1,
! 	 PyDoc_STR("(Buffer buffer, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)")},
  	{"CFURLCreateFromFSRef", (PyCFunction)CF_CFURLCreateFromFSRef, 1,
! 	 PyDoc_STR("(FSRef fsRef) -> (CFURLRef _rv)")},
  	{"toCF", (PyCFunction)CF_toCF, 1,
! 	 PyDoc_STR("(python_object) -> (CF_object)")},
  	{NULL, NULL, 0}
  };