diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-16 09:09:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-16 09:09:31 (GMT) |
commit | 49931887d7e135190fbcf0119e03419a7101ff7c (patch) | |
tree | c32d8d0ddf92ede69e1430361e0434d81de50318 /Mac/Modules/cf | |
parent | 44b99e0a1f6166ea05e7327c56dda601e017d401 (diff) | |
download | cpython-49931887d7e135190fbcf0119e03419a7101ff7c.zip cpython-49931887d7e135190fbcf0119e03419a7101ff7c.tar.gz cpython-49931887d7e135190fbcf0119e03419a7101ff7c.tar.bz2 |
Regenerated with PyDoc_STR() around docstrings.
Diffstat (limited to 'Mac/Modules/cf')
-rw-r--r-- | Mac/Modules/cf/_CFmodule.c | 304 |
1 files changed, 152 insertions, 152 deletions
diff --git a/Mac/Modules/cf/_CFmodule.c b/Mac/Modules/cf/_CFmodule.c index eb3f3f6..2942082 100644 --- a/Mac/Modules/cf/_CFmodule.c +++ b/Mac/Modules/cf/_CFmodule.c @@ -360,29 +360,29 @@ static PyObject *CFTypeRefObj_toPython(CFTypeRefObject *_self, PyObject *_args) static PyMethodDef CFTypeRefObj_methods[] = { {"CFGetTypeID", (PyCFunction)CFTypeRefObj_CFGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFRetain", (PyCFunction)CFTypeRefObj_CFRetain, 1, - "() -> (CFTypeRef _rv)"}, + PyDoc_STR("() -> (CFTypeRef _rv)")}, {"CFRelease", (PyCFunction)CFTypeRefObj_CFRelease, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"CFGetRetainCount", (PyCFunction)CFTypeRefObj_CFGetRetainCount, 1, - "() -> (CFIndex _rv)"}, + PyDoc_STR("() -> (CFIndex _rv)")}, {"CFEqual", (PyCFunction)CFTypeRefObj_CFEqual, 1, - "(CFTypeRef cf2) -> (Boolean _rv)"}, + PyDoc_STR("(CFTypeRef cf2) -> (Boolean _rv)")}, {"CFHash", (PyCFunction)CFTypeRefObj_CFHash, 1, - "() -> (CFHashCode _rv)"}, + PyDoc_STR("() -> (CFHashCode _rv)")}, {"CFCopyDescription", (PyCFunction)CFTypeRefObj_CFCopyDescription, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFPropertyListCreateXMLData", (PyCFunction)CFTypeRefObj_CFPropertyListCreateXMLData, 1, - "() -> (CFDataRef _rv)"}, + PyDoc_STR("() -> (CFDataRef _rv)")}, {"CFPropertyListCreateDeepCopy", (PyCFunction)CFTypeRefObj_CFPropertyListCreateDeepCopy, 1, - "(CFOptionFlags mutabilityOption) -> (CFTypeRef _rv)"}, + PyDoc_STR("(CFOptionFlags mutabilityOption) -> (CFTypeRef _rv)")}, {"CFShow", (PyCFunction)CFTypeRefObj_CFShow, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"CFPropertyListCreateFromXMLData", (PyCFunction)CFTypeRefObj_CFPropertyListCreateFromXMLData, 1, - "(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)"}, + PyDoc_STR("(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)")}, {"toPython", (PyCFunction)CFTypeRefObj_toPython, 1, - "() -> (python_object)"}, + PyDoc_STR("() -> (python_object)")}, {NULL, NULL, 0} }; @@ -534,11 +534,11 @@ static PyObject *CFArrayRefObj_CFStringCreateByCombiningStrings(CFArrayRefObject static PyMethodDef CFArrayRefObj_methods[] = { {"CFArrayCreateCopy", (PyCFunction)CFArrayRefObj_CFArrayCreateCopy, 1, - "() -> (CFArrayRef _rv)"}, + PyDoc_STR("() -> (CFArrayRef _rv)")}, {"CFArrayGetCount", (PyCFunction)CFArrayRefObj_CFArrayGetCount, 1, - "() -> (CFIndex _rv)"}, + PyDoc_STR("() -> (CFIndex _rv)")}, {"CFStringCreateByCombiningStrings", (PyCFunction)CFArrayRefObj_CFStringCreateByCombiningStrings, 1, - "(CFStringRef separatorString) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringRef separatorString) -> (CFStringRef _rv)")}, {NULL, NULL, 0} }; @@ -717,13 +717,13 @@ static PyObject *CFMutableArrayRefObj_CFArrayAppendArray(CFMutableArrayRefObject static PyMethodDef CFMutableArrayRefObj_methods[] = { {"CFArrayRemoveValueAtIndex", (PyCFunction)CFMutableArrayRefObj_CFArrayRemoveValueAtIndex, 1, - "(CFIndex idx) -> None"}, + PyDoc_STR("(CFIndex idx) -> None")}, {"CFArrayRemoveAllValues", (PyCFunction)CFMutableArrayRefObj_CFArrayRemoveAllValues, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"CFArrayExchangeValuesAtIndices", (PyCFunction)CFMutableArrayRefObj_CFArrayExchangeValuesAtIndices, 1, - "(CFIndex idx1, CFIndex idx2) -> None"}, + PyDoc_STR("(CFIndex idx1, CFIndex idx2) -> None")}, {"CFArrayAppendArray", (PyCFunction)CFMutableArrayRefObj_CFArrayAppendArray, 1, - "(CFArrayRef otherArray, CFRange otherRange) -> None"}, + PyDoc_STR("(CFArrayRef otherArray, CFRange otherRange) -> None")}, {NULL, NULL, 0} }; @@ -859,9 +859,9 @@ static PyObject *CFDictionaryRefObj_CFDictionaryGetCount(CFDictionaryRefObject * static PyMethodDef CFDictionaryRefObj_methods[] = { {"CFDictionaryCreateCopy", (PyCFunction)CFDictionaryRefObj_CFDictionaryCreateCopy, 1, - "() -> (CFDictionaryRef _rv)"}, + PyDoc_STR("() -> (CFDictionaryRef _rv)")}, {"CFDictionaryGetCount", (PyCFunction)CFDictionaryRefObj_CFDictionaryGetCount, 1, - "() -> (CFIndex _rv)"}, + PyDoc_STR("() -> (CFIndex _rv)")}, {NULL, NULL, 0} }; @@ -983,7 +983,7 @@ static PyObject *CFMutableDictionaryRefObj_CFDictionaryRemoveAllValues(CFMutable static PyMethodDef CFMutableDictionaryRefObj_methods[] = { {"CFDictionaryRemoveAllValues", (PyCFunction)CFMutableDictionaryRefObj_CFDictionaryRemoveAllValues, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {NULL, NULL, 0} }; @@ -1153,13 +1153,13 @@ static PyObject *CFDataRefObj_CFDataGetData(CFDataRefObject *_self, PyObject *_a static PyMethodDef CFDataRefObj_methods[] = { {"CFDataCreateCopy", (PyCFunction)CFDataRefObj_CFDataCreateCopy, 1, - "() -> (CFDataRef _rv)"}, + PyDoc_STR("() -> (CFDataRef _rv)")}, {"CFDataGetLength", (PyCFunction)CFDataRefObj_CFDataGetLength, 1, - "() -> (CFIndex _rv)"}, + PyDoc_STR("() -> (CFIndex _rv)")}, {"CFStringCreateFromExternalRepresentation", (PyCFunction)CFDataRefObj_CFStringCreateFromExternalRepresentation, 1, - "(CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFDataGetData", (PyCFunction)CFDataRefObj_CFDataGetData, 1, - "() -> (string _rv)"}, + PyDoc_STR("() -> (string _rv)")}, {NULL, NULL, 0} }; @@ -1361,15 +1361,15 @@ static PyObject *CFMutableDataRefObj_CFDataDeleteBytes(CFMutableDataRefObject *_ static PyMethodDef CFMutableDataRefObj_methods[] = { {"CFDataSetLength", (PyCFunction)CFMutableDataRefObj_CFDataSetLength, 1, - "(CFIndex length) -> None"}, + PyDoc_STR("(CFIndex length) -> None")}, {"CFDataIncreaseLength", (PyCFunction)CFMutableDataRefObj_CFDataIncreaseLength, 1, - "(CFIndex extraLength) -> None"}, + PyDoc_STR("(CFIndex extraLength) -> None")}, {"CFDataAppendBytes", (PyCFunction)CFMutableDataRefObj_CFDataAppendBytes, 1, - "(Buffer bytes) -> None"}, + PyDoc_STR("(Buffer bytes) -> None")}, {"CFDataReplaceBytes", (PyCFunction)CFMutableDataRefObj_CFDataReplaceBytes, 1, - "(CFRange range, Buffer newBytes) -> None"}, + PyDoc_STR("(CFRange range, Buffer newBytes) -> None")}, {"CFDataDeleteBytes", (PyCFunction)CFMutableDataRefObj_CFDataDeleteBytes, 1, - "(CFRange range) -> None"}, + PyDoc_STR("(CFRange range) -> None")}, {NULL, NULL, 0} }; @@ -2002,59 +2002,59 @@ static PyObject *CFStringRefObj_CFStringGetUnicode(CFStringRefObject *_self, PyO static PyMethodDef CFStringRefObj_methods[] = { {"CFStringCreateWithSubstring", (PyCFunction)CFStringRefObj_CFStringCreateWithSubstring, 1, - "(CFRange range) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFRange range) -> (CFStringRef _rv)")}, {"CFStringCreateCopy", (PyCFunction)CFStringRefObj_CFStringCreateCopy, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFStringGetLength", (PyCFunction)CFStringRefObj_CFStringGetLength, 1, - "() -> (CFIndex _rv)"}, + PyDoc_STR("() -> (CFIndex _rv)")}, {"CFStringGetBytes", (PyCFunction)CFStringRefObj_CFStringGetBytes, 1, - "(CFRange range, CFStringEncoding encoding, UInt8 lossByte, Boolean isExternalRepresentation, CFIndex maxBufLen) -> (CFIndex _rv, UInt8 buffer, CFIndex usedBufLen)"}, + PyDoc_STR("(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)"}, + PyDoc_STR("(CFStringEncoding encoding, UInt8 lossByte) -> (CFDataRef _rv)")}, {"CFStringGetSmallestEncoding", (PyCFunction)CFStringRefObj_CFStringGetSmallestEncoding, 1, - "() -> (CFStringEncoding _rv)"}, + PyDoc_STR("() -> (CFStringEncoding _rv)")}, {"CFStringGetFastestEncoding", (PyCFunction)CFStringRefObj_CFStringGetFastestEncoding, 1, - "() -> (CFStringEncoding _rv)"}, + PyDoc_STR("() -> (CFStringEncoding _rv)")}, {"CFStringCompareWithOptions", (PyCFunction)CFStringRefObj_CFStringCompareWithOptions, 1, - "(CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)"}, + PyDoc_STR("(CFStringRef theString2, CFRange rangeToCompare, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)")}, {"CFStringCompare", (PyCFunction)CFStringRefObj_CFStringCompare, 1, - "(CFStringRef theString2, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)"}, + PyDoc_STR("(CFStringRef theString2, CFOptionFlags compareOptions) -> (CFComparisonResult _rv)")}, {"CFStringFindWithOptions", (PyCFunction)CFStringRefObj_CFStringFindWithOptions, 1, - "(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions) -> (Boolean _rv, CFRange result)"}, + PyDoc_STR("(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags searchOptions) -> (Boolean _rv, CFRange result)")}, {"CFStringCreateArrayWithFindResults", (PyCFunction)CFStringRefObj_CFStringCreateArrayWithFindResults, 1, - "(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags compareOptions) -> (CFArrayRef _rv)"}, + PyDoc_STR("(CFStringRef stringToFind, CFRange rangeToSearch, CFOptionFlags compareOptions) -> (CFArrayRef _rv)")}, {"CFStringFind", (PyCFunction)CFStringRefObj_CFStringFind, 1, - "(CFStringRef stringToFind, CFOptionFlags compareOptions) -> (CFRange _rv)"}, + PyDoc_STR("(CFStringRef stringToFind, CFOptionFlags compareOptions) -> (CFRange _rv)")}, {"CFStringHasPrefix", (PyCFunction)CFStringRefObj_CFStringHasPrefix, 1, - "(CFStringRef prefix) -> (Boolean _rv)"}, + PyDoc_STR("(CFStringRef prefix) -> (Boolean _rv)")}, {"CFStringHasSuffix", (PyCFunction)CFStringRefObj_CFStringHasSuffix, 1, - "(CFStringRef suffix) -> (Boolean _rv)"}, + PyDoc_STR("(CFStringRef suffix) -> (Boolean _rv)")}, {"CFStringGetLineBounds", (PyCFunction)CFStringRefObj_CFStringGetLineBounds, 1, - "(CFRange range) -> (CFIndex lineBeginIndex, CFIndex lineEndIndex, CFIndex contentsEndIndex)"}, + PyDoc_STR("(CFRange range) -> (CFIndex lineBeginIndex, CFIndex lineEndIndex, CFIndex contentsEndIndex)")}, {"CFStringCreateArrayBySeparatingStrings", (PyCFunction)CFStringRefObj_CFStringCreateArrayBySeparatingStrings, 1, - "(CFStringRef separatorString) -> (CFArrayRef _rv)"}, + PyDoc_STR("(CFStringRef separatorString) -> (CFArrayRef _rv)")}, {"CFStringGetIntValue", (PyCFunction)CFStringRefObj_CFStringGetIntValue, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"CFStringGetDoubleValue", (PyCFunction)CFStringRefObj_CFStringGetDoubleValue, 1, - "() -> (double _rv)"}, + PyDoc_STR("() -> (double _rv)")}, {"CFStringConvertIANACharSetNameToEncoding", (PyCFunction)CFStringRefObj_CFStringConvertIANACharSetNameToEncoding, 1, - "() -> (CFStringEncoding _rv)"}, + PyDoc_STR("() -> (CFStringEncoding _rv)")}, {"CFShowStr", (PyCFunction)CFStringRefObj_CFShowStr, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {"CFURLCreateWithString", (PyCFunction)CFStringRefObj_CFURLCreateWithString, 1, - "(CFURLRef baseURL) -> (CFURLRef _rv)"}, + PyDoc_STR("(CFURLRef baseURL) -> (CFURLRef _rv)")}, {"CFURLCreateWithFileSystemPath", (PyCFunction)CFStringRefObj_CFURLCreateWithFileSystemPath, 1, - "(CFURLPathStyle pathStyle, Boolean isDirectory) -> (CFURLRef _rv)"}, + PyDoc_STR("(CFURLPathStyle pathStyle, Boolean isDirectory) -> (CFURLRef _rv)")}, {"CFURLCreateWithFileSystemPathRelativeToBase", (PyCFunction)CFStringRefObj_CFURLCreateWithFileSystemPathRelativeToBase, 1, - "(CFURLPathStyle pathStyle, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)"}, + PyDoc_STR("(CFURLPathStyle pathStyle, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)")}, {"CFURLCreateStringByReplacingPercentEscapes", (PyCFunction)CFStringRefObj_CFURLCreateStringByReplacingPercentEscapes, 1, - "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")}, {"CFURLCreateStringByAddingPercentEscapes", (PyCFunction)CFStringRefObj_CFURLCreateStringByAddingPercentEscapes, 1, - "(CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringGetString", (PyCFunction)CFStringRefObj_CFStringGetString, 1, - "() -> (string _rv)"}, + PyDoc_STR("() -> (string _rv)")}, {"CFStringGetUnicode", (PyCFunction)CFStringRefObj_CFStringGetUnicode, 1, - "() -> (unicode _rv)"}, + PyDoc_STR("() -> (unicode _rv)")}, {NULL, NULL, 0} }; @@ -2367,27 +2367,27 @@ static PyObject *CFMutableStringRefObj_CFStringTrimWhitespace(CFMutableStringRef static PyMethodDef CFMutableStringRefObj_methods[] = { {"CFStringAppend", (PyCFunction)CFMutableStringRefObj_CFStringAppend, 1, - "(CFStringRef appendedString) -> None"}, + PyDoc_STR("(CFStringRef appendedString) -> None")}, {"CFStringAppendCharacters", (PyCFunction)CFMutableStringRefObj_CFStringAppendCharacters, 1, - "(Buffer chars) -> None"}, + PyDoc_STR("(Buffer chars) -> None")}, {"CFStringAppendPascalString", (PyCFunction)CFMutableStringRefObj_CFStringAppendPascalString, 1, - "(Str255 pStr, CFStringEncoding encoding) -> None"}, + PyDoc_STR("(Str255 pStr, CFStringEncoding encoding) -> None")}, {"CFStringAppendCString", (PyCFunction)CFMutableStringRefObj_CFStringAppendCString, 1, - "(char* cStr, CFStringEncoding encoding) -> None"}, + PyDoc_STR("(char* cStr, CFStringEncoding encoding) -> None")}, {"CFStringInsert", (PyCFunction)CFMutableStringRefObj_CFStringInsert, 1, - "(CFIndex idx, CFStringRef insertedStr) -> None"}, + PyDoc_STR("(CFIndex idx, CFStringRef insertedStr) -> None")}, {"CFStringDelete", (PyCFunction)CFMutableStringRefObj_CFStringDelete, 1, - "(CFRange range) -> None"}, + PyDoc_STR("(CFRange range) -> None")}, {"CFStringReplace", (PyCFunction)CFMutableStringRefObj_CFStringReplace, 1, - "(CFRange range, CFStringRef replacement) -> None"}, + PyDoc_STR("(CFRange range, CFStringRef replacement) -> None")}, {"CFStringReplaceAll", (PyCFunction)CFMutableStringRefObj_CFStringReplaceAll, 1, - "(CFStringRef replacement) -> None"}, + PyDoc_STR("(CFStringRef replacement) -> None")}, {"CFStringPad", (PyCFunction)CFMutableStringRefObj_CFStringPad, 1, - "(CFStringRef padString, CFIndex length, CFIndex indexIntoPad) -> None"}, + PyDoc_STR("(CFStringRef padString, CFIndex length, CFIndex indexIntoPad) -> None")}, {"CFStringTrim", (PyCFunction)CFMutableStringRefObj_CFStringTrim, 1, - "(CFStringRef trimString) -> None"}, + PyDoc_STR("(CFStringRef trimString) -> None")}, {"CFStringTrimWhitespace", (PyCFunction)CFMutableStringRefObj_CFStringTrimWhitespace, 1, - "() -> None"}, + PyDoc_STR("() -> None")}, {NULL, NULL, 0} }; @@ -2932,59 +2932,59 @@ static PyObject *CFURLRefObj_CFURLGetFSRef(CFURLRefObject *_self, PyObject *_arg static PyMethodDef CFURLRefObj_methods[] = { {"CFURLCreateData", (PyCFunction)CFURLRefObj_CFURLCreateData, 1, - "(CFStringEncoding encoding, Boolean escapeWhitespace) -> (CFDataRef _rv)"}, + PyDoc_STR("(CFStringEncoding encoding, Boolean escapeWhitespace) -> (CFDataRef _rv)")}, {"CFURLGetFileSystemRepresentation", (PyCFunction)CFURLRefObj_CFURLGetFileSystemRepresentation, 1, - "(Boolean resolveAgainstBase, CFIndex maxBufLen) -> (Boolean _rv, UInt8 buffer)"}, + PyDoc_STR("(Boolean resolveAgainstBase, CFIndex maxBufLen) -> (Boolean _rv, UInt8 buffer)")}, {"CFURLCopyAbsoluteURL", (PyCFunction)CFURLRefObj_CFURLCopyAbsoluteURL, 1, - "() -> (CFURLRef _rv)"}, + PyDoc_STR("() -> (CFURLRef _rv)")}, {"CFURLGetString", (PyCFunction)CFURLRefObj_CFURLGetString, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLGetBaseURL", (PyCFunction)CFURLRefObj_CFURLGetBaseURL, 1, - "() -> (CFURLRef _rv)"}, + PyDoc_STR("() -> (CFURLRef _rv)")}, {"CFURLCanBeDecomposed", (PyCFunction)CFURLRefObj_CFURLCanBeDecomposed, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"CFURLCopyScheme", (PyCFunction)CFURLRefObj_CFURLCopyScheme, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyNetLocation", (PyCFunction)CFURLRefObj_CFURLCopyNetLocation, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyPath", (PyCFunction)CFURLRefObj_CFURLCopyPath, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyStrictPath", (PyCFunction)CFURLRefObj_CFURLCopyStrictPath, 1, - "() -> (CFStringRef _rv, Boolean isAbsolute)"}, + PyDoc_STR("() -> (CFStringRef _rv, Boolean isAbsolute)")}, {"CFURLCopyFileSystemPath", (PyCFunction)CFURLRefObj_CFURLCopyFileSystemPath, 1, - "(CFURLPathStyle pathStyle) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFURLPathStyle pathStyle) -> (CFStringRef _rv)")}, {"CFURLHasDirectoryPath", (PyCFunction)CFURLRefObj_CFURLHasDirectoryPath, 1, - "() -> (Boolean _rv)"}, + PyDoc_STR("() -> (Boolean _rv)")}, {"CFURLCopyResourceSpecifier", (PyCFunction)CFURLRefObj_CFURLCopyResourceSpecifier, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyHostName", (PyCFunction)CFURLRefObj_CFURLCopyHostName, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLGetPortNumber", (PyCFunction)CFURLRefObj_CFURLGetPortNumber, 1, - "() -> (SInt32 _rv)"}, + PyDoc_STR("() -> (SInt32 _rv)")}, {"CFURLCopyUserName", (PyCFunction)CFURLRefObj_CFURLCopyUserName, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyPassword", (PyCFunction)CFURLRefObj_CFURLCopyPassword, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyParameterString", (PyCFunction)CFURLRefObj_CFURLCopyParameterString, 1, - "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")}, {"CFURLCopyQueryString", (PyCFunction)CFURLRefObj_CFURLCopyQueryString, 1, - "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")}, {"CFURLCopyFragment", (PyCFunction)CFURLRefObj_CFURLCopyFragment, 1, - "(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringRef charactersToLeaveEscaped) -> (CFStringRef _rv)")}, {"CFURLCopyLastPathComponent", (PyCFunction)CFURLRefObj_CFURLCopyLastPathComponent, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCopyPathExtension", (PyCFunction)CFURLRefObj_CFURLCopyPathExtension, 1, - "() -> (CFStringRef _rv)"}, + PyDoc_STR("() -> (CFStringRef _rv)")}, {"CFURLCreateCopyAppendingPathComponent", (PyCFunction)CFURLRefObj_CFURLCreateCopyAppendingPathComponent, 1, - "(CFStringRef pathComponent, Boolean isDirectory) -> (CFURLRef _rv)"}, + PyDoc_STR("(CFStringRef pathComponent, Boolean isDirectory) -> (CFURLRef _rv)")}, {"CFURLCreateCopyDeletingLastPathComponent", (PyCFunction)CFURLRefObj_CFURLCreateCopyDeletingLastPathComponent, 1, - "() -> (CFURLRef _rv)"}, + PyDoc_STR("() -> (CFURLRef _rv)")}, {"CFURLCreateCopyAppendingPathExtension", (PyCFunction)CFURLRefObj_CFURLCreateCopyAppendingPathExtension, 1, - "(CFStringRef extension) -> (CFURLRef _rv)"}, + PyDoc_STR("(CFStringRef extension) -> (CFURLRef _rv)")}, {"CFURLCreateCopyDeletingPathExtension", (PyCFunction)CFURLRefObj_CFURLCreateCopyDeletingPathExtension, 1, - "() -> (CFURLRef _rv)"}, + PyDoc_STR("() -> (CFURLRef _rv)")}, {"CFURLGetFSRef", (PyCFunction)CFURLRefObj_CFURLGetFSRef, 1, - "() -> (Boolean _rv, FSRef fsRef)"}, + PyDoc_STR("() -> (Boolean _rv, FSRef fsRef)")}, {NULL, NULL, 0} }; @@ -4173,117 +4173,117 @@ static PyObject *CF_toCF(PyObject *_self, PyObject *_args) static PyMethodDef CF_methods[] = { {"__CFRangeMake", (PyCFunction)CF___CFRangeMake, 1, - "(CFIndex loc, CFIndex len) -> (CFRange _rv)"}, + PyDoc_STR("(CFIndex loc, CFIndex len) -> (CFRange _rv)")}, {"CFAllocatorGetTypeID", (PyCFunction)CF_CFAllocatorGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFAllocatorGetPreferredSizeForSize", (PyCFunction)CF_CFAllocatorGetPreferredSizeForSize, 1, - "(CFIndex size, CFOptionFlags hint) -> (CFIndex _rv)"}, + PyDoc_STR("(CFIndex size, CFOptionFlags hint) -> (CFIndex _rv)")}, {"CFCopyTypeIDDescription", (PyCFunction)CF_CFCopyTypeIDDescription, 1, - "(CFTypeID type_id) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFTypeID type_id) -> (CFStringRef _rv)")}, {"CFArrayGetTypeID", (PyCFunction)CF_CFArrayGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFArrayCreateMutable", (PyCFunction)CF_CFArrayCreateMutable, 1, - "(CFIndex capacity) -> (CFMutableArrayRef _rv)"}, + PyDoc_STR("(CFIndex capacity) -> (CFMutableArrayRef _rv)")}, {"CFArrayCreateMutableCopy", (PyCFunction)CF_CFArrayCreateMutableCopy, 1, - "(CFIndex capacity, CFArrayRef theArray) -> (CFMutableArrayRef _rv)"}, + PyDoc_STR("(CFIndex capacity, CFArrayRef theArray) -> (CFMutableArrayRef _rv)")}, {"CFDataGetTypeID", (PyCFunction)CF_CFDataGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFDataCreate", (PyCFunction)CF_CFDataCreate, 1, - "(Buffer bytes) -> (CFDataRef _rv)"}, + PyDoc_STR("(Buffer bytes) -> (CFDataRef _rv)")}, {"CFDataCreateWithBytesNoCopy", (PyCFunction)CF_CFDataCreateWithBytesNoCopy, 1, - "(Buffer bytes) -> (CFDataRef _rv)"}, + PyDoc_STR("(Buffer bytes) -> (CFDataRef _rv)")}, {"CFDataCreateMutable", (PyCFunction)CF_CFDataCreateMutable, 1, - "(CFIndex capacity) -> (CFMutableDataRef _rv)"}, + PyDoc_STR("(CFIndex capacity) -> (CFMutableDataRef _rv)")}, {"CFDataCreateMutableCopy", (PyCFunction)CF_CFDataCreateMutableCopy, 1, - "(CFIndex capacity, CFDataRef theData) -> (CFMutableDataRef _rv)"}, + PyDoc_STR("(CFIndex capacity, CFDataRef theData) -> (CFMutableDataRef _rv)")}, {"CFDictionaryGetTypeID", (PyCFunction)CF_CFDictionaryGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFDictionaryCreateMutable", (PyCFunction)CF_CFDictionaryCreateMutable, 1, - "(CFIndex capacity) -> (CFMutableDictionaryRef _rv)"}, + PyDoc_STR("(CFIndex capacity) -> (CFMutableDictionaryRef _rv)")}, {"CFDictionaryCreateMutableCopy", (PyCFunction)CF_CFDictionaryCreateMutableCopy, 1, - "(CFIndex capacity, CFDictionaryRef theDict) -> (CFMutableDictionaryRef _rv)"}, + PyDoc_STR("(CFIndex capacity, CFDictionaryRef theDict) -> (CFMutableDictionaryRef _rv)")}, {"CFPreferencesCopyAppValue", (PyCFunction)CF_CFPreferencesCopyAppValue, 1, - "(CFStringRef key, CFStringRef applicationID) -> (CFTypeRef _rv)"}, + PyDoc_STR("(CFStringRef key, CFStringRef applicationID) -> (CFTypeRef _rv)")}, {"CFPreferencesGetAppBooleanValue", (PyCFunction)CF_CFPreferencesGetAppBooleanValue, 1, - "(CFStringRef key, CFStringRef applicationID) -> (Boolean _rv, Boolean keyExistsAndHasValidFormat)"}, + PyDoc_STR("(CFStringRef key, CFStringRef applicationID) -> (Boolean _rv, Boolean keyExistsAndHasValidFormat)")}, {"CFPreferencesGetAppIntegerValue", (PyCFunction)CF_CFPreferencesGetAppIntegerValue, 1, - "(CFStringRef key, CFStringRef applicationID) -> (CFIndex _rv, Boolean keyExistsAndHasValidFormat)"}, + PyDoc_STR("(CFStringRef key, CFStringRef applicationID) -> (CFIndex _rv, Boolean keyExistsAndHasValidFormat)")}, {"CFPreferencesSetAppValue", (PyCFunction)CF_CFPreferencesSetAppValue, 1, - "(CFStringRef key, CFTypeRef value, CFStringRef applicationID) -> None"}, + PyDoc_STR("(CFStringRef key, CFTypeRef value, CFStringRef applicationID) -> None")}, {"CFPreferencesAddSuitePreferencesToApp", (PyCFunction)CF_CFPreferencesAddSuitePreferencesToApp, 1, - "(CFStringRef applicationID, CFStringRef suiteID) -> None"}, + PyDoc_STR("(CFStringRef applicationID, CFStringRef suiteID) -> None")}, {"CFPreferencesRemoveSuitePreferencesFromApp", (PyCFunction)CF_CFPreferencesRemoveSuitePreferencesFromApp, 1, - "(CFStringRef applicationID, CFStringRef suiteID) -> None"}, + PyDoc_STR("(CFStringRef applicationID, CFStringRef suiteID) -> None")}, {"CFPreferencesAppSynchronize", (PyCFunction)CF_CFPreferencesAppSynchronize, 1, - "(CFStringRef applicationID) -> (Boolean _rv)"}, + PyDoc_STR("(CFStringRef applicationID) -> (Boolean _rv)")}, {"CFPreferencesCopyValue", (PyCFunction)CF_CFPreferencesCopyValue, 1, - "(CFStringRef key, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFTypeRef _rv)"}, + PyDoc_STR("(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)"}, + PyDoc_STR("(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"}, + PyDoc_STR("(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"}, + PyDoc_STR("(CFDictionaryRef keysToSet, CFArrayRef keysToRemove, CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> None")}, {"CFPreferencesSynchronize", (PyCFunction)CF_CFPreferencesSynchronize, 1, - "(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (Boolean _rv)"}, + PyDoc_STR("(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (Boolean _rv)")}, {"CFPreferencesCopyApplicationList", (PyCFunction)CF_CFPreferencesCopyApplicationList, 1, - "(CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)"}, + PyDoc_STR("(CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)")}, {"CFPreferencesCopyKeyList", (PyCFunction)CF_CFPreferencesCopyKeyList, 1, - "(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)"}, + PyDoc_STR("(CFStringRef applicationID, CFStringRef userName, CFStringRef hostName) -> (CFArrayRef _rv)")}, {"CFStringGetTypeID", (PyCFunction)CF_CFStringGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFStringCreateWithPascalString", (PyCFunction)CF_CFStringCreateWithPascalString, 1, - "(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringCreateWithCString", (PyCFunction)CF_CFStringCreateWithCString, 1, - "(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringCreateWithCharacters", (PyCFunction)CF_CFStringCreateWithCharacters, 1, - "(Buffer chars) -> (CFStringRef _rv)"}, + PyDoc_STR("(Buffer chars) -> (CFStringRef _rv)")}, {"CFStringCreateWithPascalStringNoCopy", (PyCFunction)CF_CFStringCreateWithPascalStringNoCopy, 1, - "(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(Str255 pStr, CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringCreateWithCStringNoCopy", (PyCFunction)CF_CFStringCreateWithCStringNoCopy, 1, - "(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(char* cStr, CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringCreateWithCharactersNoCopy", (PyCFunction)CF_CFStringCreateWithCharactersNoCopy, 1, - "(Buffer chars) -> (CFStringRef _rv)"}, + PyDoc_STR("(Buffer chars) -> (CFStringRef _rv)")}, {"CFStringCreateMutable", (PyCFunction)CF_CFStringCreateMutable, 1, - "(CFIndex maxLength) -> (CFMutableStringRef _rv)"}, + PyDoc_STR("(CFIndex maxLength) -> (CFMutableStringRef _rv)")}, {"CFStringCreateMutableCopy", (PyCFunction)CF_CFStringCreateMutableCopy, 1, - "(CFIndex maxLength, CFStringRef theString) -> (CFMutableStringRef _rv)"}, + PyDoc_STR("(CFIndex maxLength, CFStringRef theString) -> (CFMutableStringRef _rv)")}, {"CFStringCreateWithBytes", (PyCFunction)CF_CFStringCreateWithBytes, 1, - "(Buffer bytes, CFStringEncoding encoding, Boolean isExternalRepresentation) -> (CFStringRef _rv)"}, + PyDoc_STR("(Buffer bytes, CFStringEncoding encoding, Boolean isExternalRepresentation) -> (CFStringRef _rv)")}, {"CFStringGetSystemEncoding", (PyCFunction)CF_CFStringGetSystemEncoding, 1, - "() -> (CFStringEncoding _rv)"}, + PyDoc_STR("() -> (CFStringEncoding _rv)")}, {"CFStringGetMaximumSizeForEncoding", (PyCFunction)CF_CFStringGetMaximumSizeForEncoding, 1, - "(CFIndex length, CFStringEncoding encoding) -> (CFIndex _rv)"}, + PyDoc_STR("(CFIndex length, CFStringEncoding encoding) -> (CFIndex _rv)")}, {"CFStringIsEncodingAvailable", (PyCFunction)CF_CFStringIsEncodingAvailable, 1, - "(CFStringEncoding encoding) -> (Boolean _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (Boolean _rv)")}, {"CFStringGetNameOfEncoding", (PyCFunction)CF_CFStringGetNameOfEncoding, 1, - "(CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringConvertEncodingToNSStringEncoding", (PyCFunction)CF_CFStringConvertEncodingToNSStringEncoding, 1, - "(CFStringEncoding encoding) -> (UInt32 _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (UInt32 _rv)")}, {"CFStringConvertNSStringEncodingToEncoding", (PyCFunction)CF_CFStringConvertNSStringEncodingToEncoding, 1, - "(UInt32 encoding) -> (CFStringEncoding _rv)"}, + PyDoc_STR("(UInt32 encoding) -> (CFStringEncoding _rv)")}, {"CFStringConvertEncodingToWindowsCodepage", (PyCFunction)CF_CFStringConvertEncodingToWindowsCodepage, 1, - "(CFStringEncoding encoding) -> (UInt32 _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (UInt32 _rv)")}, {"CFStringConvertWindowsCodepageToEncoding", (PyCFunction)CF_CFStringConvertWindowsCodepageToEncoding, 1, - "(UInt32 codepage) -> (CFStringEncoding _rv)"}, + PyDoc_STR("(UInt32 codepage) -> (CFStringEncoding _rv)")}, {"CFStringConvertEncodingToIANACharSetName", (PyCFunction)CF_CFStringConvertEncodingToIANACharSetName, 1, - "(CFStringEncoding encoding) -> (CFStringRef _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (CFStringRef _rv)")}, {"CFStringGetMostCompatibleMacStringEncoding", (PyCFunction)CF_CFStringGetMostCompatibleMacStringEncoding, 1, - "(CFStringEncoding encoding) -> (CFStringEncoding _rv)"}, + PyDoc_STR("(CFStringEncoding encoding) -> (CFStringEncoding _rv)")}, {"__CFStringMakeConstantString", (PyCFunction)CF___CFStringMakeConstantString, 1, - "(char* cStr) -> (CFStringRef _rv)"}, + PyDoc_STR("(char* cStr) -> (CFStringRef _rv)")}, {"CFURLGetTypeID", (PyCFunction)CF_CFURLGetTypeID, 1, - "() -> (CFTypeID _rv)"}, + PyDoc_STR("() -> (CFTypeID _rv)")}, {"CFURLCreateWithBytes", (PyCFunction)CF_CFURLCreateWithBytes, 1, - "(Buffer URLBytes, CFStringEncoding encoding, CFURLRef baseURL) -> (CFURLRef _rv)"}, + PyDoc_STR("(Buffer URLBytes, CFStringEncoding encoding, CFURLRef baseURL) -> (CFURLRef _rv)")}, {"CFURLCreateFromFileSystemRepresentation", (PyCFunction)CF_CFURLCreateFromFileSystemRepresentation, 1, - "(Buffer buffer, Boolean isDirectory) -> (CFURLRef _rv)"}, + PyDoc_STR("(Buffer buffer, Boolean isDirectory) -> (CFURLRef _rv)")}, {"CFURLCreateFromFileSystemRepresentationRelativeToBase", (PyCFunction)CF_CFURLCreateFromFileSystemRepresentationRelativeToBase, 1, - "(Buffer buffer, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)"}, + PyDoc_STR("(Buffer buffer, Boolean isDirectory, CFURLRef baseURL) -> (CFURLRef _rv)")}, {"CFURLCreateFromFSRef", (PyCFunction)CF_CFURLCreateFromFSRef, 1, - "(FSRef fsRef) -> (CFURLRef _rv)"}, + PyDoc_STR("(FSRef fsRef) -> (CFURLRef _rv)")}, {"toCF", (PyCFunction)CF_toCF, 1, - "(python_object) -> (CF_object)"}, + PyDoc_STR("(python_object) -> (CF_object)")}, {NULL, NULL, 0} }; |