コード例 #1
0
/* This is the description you get for %@. Note that this used to return the shorter description prior to 10.11/iOS9; moving forward we just generate the same result.  In general this function is rarely invoked, so shouldn't matter much.
*/
static CFStringRef __CFErrorCopyFormattingDescription(CFTypeRef cf, CFDictionaryRef formatOptions) {
    if (
        true
    ) {
        return _CFErrorCreateDebugDescription((CFErrorRef)cf);
    } else {
        return CFErrorCopyDescription((CFErrorRef)cf);
    }
}
コード例 #2
0
ファイル: CFError.c プロジェクト: cooljeanius/opencflite-code
/* This is the full debug description. Shows the description (possibly localized), plus the domain, code, and userInfo explicitly. If there is a debug description, shows that as well. 
*/
static CFStringRef __CFErrorCopyDescription(CFTypeRef cf) {
    return _CFErrorCreateDebugDescription((CFErrorRef)cf);
}