Source

pyobjc / pyobjc-framework-CoreText / Lib / CoreText / _metadata.py

# Generated file, don't edit
# Source: BridgeSupport/CoreText.bridgesupport
# Last update: Thu Jul 21 08:41:31 2011

import objc, sys

if sys.maxint > 2 ** 32:
    def sel32or64(a, b): return b
else:
    def sel32or64(a, b): return a
if sys.byteorder == 'little':
    def littleOrBig(a, b): return a
else:
    def littleOrBig(a, b): return b

misc = {
    "CTParagraphStyleSetting": objc.createStructType('CTParagraphStyleSetting', sel32or64(b'{CTParagraphStyleSetting="spec"I"valueSize"I"value"^v}', b'{CTParagraphStyleSetting="spec"I"valueSize"Q"value"^v}'), None),
}
constants = '''$kCTStrokeWidthAttributeName@^{__CFString=}$kCTTypesetterOptionForcedEmbeddingLevel@^{__CFString=}$kCTStrokeColorAttributeName@^{__CFString=}$kCTForegroundColorFromContextAttributeName@^{__CFString=}$kCTFontAttributeName@^{__CFString=}$kCTSuperscriptAttributeName@^{__CFString=}$kCTUnderlineColorAttributeName@^{__CFString=}$kCTCharacterShapeAttributeName@^{__CFString=}$kCTFontURLAttribute@^{__CFString=}$kCTFontURLAttribute@^{__CFString=}$kCTFontFormatAttribute@^{__CFString=}$kCTFontBaselineAdjustAttribute@^{__CFString=}$kCTFontCascadeListAttribute@^{__CFString=}$kCTFontCharacterSetAttribute@^{__CFString=}$kCTFontCollectionRemoveDuplicatesOption@^{__CFString=}$kCTFontCopyrightNameKey@^{__CFString=}$kCTFontDescriptionNameKey@^{__CFString=}$kCTFontDesignerNameKey@^{__CFString=}$kCTFontDesignerURLNameKey@^{__CFString=}$kCTFontDisplayNameAttribute@^{__CFString=}$kCTFontFamilyNameAttribute@^{__CFString=}$kCTFontFamilyNameKey@^{__CFString=}$kCTFontFeatureSelectorDefaultKey@^{__CFString=}$kCTFontFeatureSelectorIdentifierKey@^{__CFString=}$kCTFontFeatureSelectorNameKey@^{__CFString=}$kCTFontFeatureSelectorSettingKey@^{__CFString=}$kCTFontFeatureSettingsAttribute@^{__CFString=}$kCTFontFeatureTypeExclusiveKey@^{__CFString=}$kCTFontFeatureTypeIdentifierKey@^{__CFString=}$kCTFontFeatureTypeNameKey@^{__CFString=}$kCTFontFeatureTypeSelectorsKey@^{__CFString=}$kCTFontFeaturesAttribute@^{__CFString=}$kCTFontFixedAdvanceAttribute@^{__CFString=}$kCTFontFullNameKey@^{__CFString=}$kCTFontLanguagesAttribute@^{__CFString=}$kCTFontLicenseNameKey@^{__CFString=}$kCTFontLicenseURLNameKey@^{__CFString=}$kCTFontMacintoshEncodingsAttribute@^{__CFString=}$kCTFontManufacturerNameKey@^{__CFString=}$kCTFontMatrixAttribute@^{__CFString=}$kCTFontNameAttribute@^{__CFString=}$kCTFontOrientationAttribute@^{__CFString=}$kCTFontPostScriptCIDNameKey@^{__CFString=}$kCTFontPostScriptNameKey@^{__CFString=}$kCTFontSampleTextNameKey@^{__CFString=}$kCTFontSizeAttribute@^{__CFString=}$kCTFontSlantTrait@^{__CFString=}$kCTFontStyleNameAttribute@^{__CFString=}$kCTFontStyleNameKey@^{__CFString=}$kCTFontSubFamilyNameKey@^{__CFString=}$kCTFontSymbolicTrait@^{__CFString=}$kCTFontTrademarkNameKey@^{__CFString=}$kCTFontTraitsAttribute@^{__CFString=}$kCTFontUniqueNameKey@^{__CFString=}$kCTFontVariationAttribute@^{__CFString=}$kCTFontVariationAxisDefaultValueKey@^{__CFString=}$kCTFontVariationAxisIdentifierKey@^{__CFString=}$kCTFontVariationAxisMaximumValueKey@^{__CFString=}$kCTFontVariationAxisMinimumValueKey@^{__CFString=}$kCTFontVariationAxisNameKey@^{__CFString=}$kCTFontVendorURLNameKey@^{__CFString=}$kCTFontVersionNameKey@^{__CFString=}$kCTFontWeightTrait@^{__CFString=}$kCTFontWidthTrait@^{__CFString=}$kCTForegroundColorAttributeName@^{__CFString=}$kCTFrameProgressionAttributeName@^{__CFString=}$kCTGlyphInfoAttributeName@^{__CFString=}$kCTKernAttributeName@^{__CFString=}$kCTLigatureAttributeName@^{__CFString=}$kCTParagraphStyleAttributeName@^{__CFString=}$kCTTabColumnTerminatorsAttributeName@^{__CFString=}$kCTTypesetterOptionDisableBidiProcessing@^{__CFString=}$kCTUnderlineStyleAttributeName@^{__CFString=}$kCTVerticalFormsAttributeName@^{__CFString=}$kCTFontRegistrationScopeAttribute@^{__CFString=}$kCTFontPriorityAttribute@^{__CFString=}$kCTFontEnabledAttribute@^{__CFString=}$'''
enums = '''$kCTVersionNumber10_5_2@131073$kCTVersionNumber10_5_3@131074$kCTVersionNumber10_5_5@131075$kCTVersionNumber10_6@196608$kCTFontPrioritySystem@10000$kCTFontPriorityNetwork@20000$kCTFontPriorityComputer@30000$kCTFontPriorityUser@40000$kCTFontPriorityDynamic@50000$kCTFontPriorityProcess@60000$kCTFontOptionsDefault@0$kCTFontFormatUnrecognized@0$kCTFontFormatOpenTypePostScript@1$kCTFontFormatOpenTypeTrueType@2$kCTFontFormatTrueType@3$kCTFontFormatPostScript@4$kCTFontFormatBitmap@5$kCTFontOptionsPreventAutoActivation@1$kCTFontOptionsPreferSystemFont@4$kCTAdobeCNS1CharacterCollection@1$kCTAdobeGB1CharacterCollection@2$kCTAdobeJapan1CharacterCollection@3$kCTAdobeJapan2CharacterCollection@4$kCTAdobeKorea1CharacterCollection@5$kCTCenterTextAlignment@2$kCTFontAlertHeaderFontType@18$kCTFontApplicationFontType@9$kCTFontBoldTrait@2$kCTFontClarendonSerifsClass@1073741824$kCTFontClassMaskShift@28$kCTFontClassMaskTrait@-268435456$kCTFontCondensedTrait@64$kCTFontControlContentFontType@26$kCTFontDefaultOrientation@0$kCTFontEmphasizedSystemDetailFontType@20$kCTFontEmphasizedSystemFontType@3$kCTFontExpandedTrait@32$kCTFontFreeformSerifsClass@1879048192$kCTFontHorizontalOrientation@1$kCTFontItalicTrait@1$kCTFontLabelFontType@10$kCTFontMenuItemCmdKeyFontType@14$kCTFontMenuItemFontType@12$kCTFontMenuItemMarkFontType@13$kCTFontMenuTitleFontType@11$kCTFontMessageFontType@23$kCTFontMiniEmphasizedSystemFontType@7$kCTFontMiniSystemFontType@6$kCTFontModernSerifsClass@805306368$kCTFontMonoSpaceTrait@1024$kCTFontNoFontType@-1$kCTFontOldStyleSerifsClass@268435456$kCTFontOrnamentalsClass@-1879048192$kCTFontPaletteFontType@24$kCTFontPushButtonFontType@16$kCTFontSansSerifClass@-2147483648$kCTFontScriptsClass@-1610612736$kCTFontSlabSerifsClass@1342177280$kCTFontSmallEmphasizedSystemFontType@5$kCTFontSmallSystemFontType@4$kCTFontSmallToolbarFontType@22$kCTFontSymbolicClass@-1073741824$kCTFontSystemDetailFontType@19$kCTFontSystemFontType@2$kCTFontTableAcnt@1633906292$kCTFontTableAvar@1635148146$kCTFontTableBASE@1111577413$kCTFontTableBdat@1650745716$kCTFontTableBhed@1651008868$kCTFontTableBloc@1651273571$kCTFontTableBsln@1651731566$kCTFontTableCFF@1128678944$kCTFontTableCmap@1668112752$kCTFontTableCvar@1668702578$kCTFontTableCvt@1668707360$kCTFontTableDSIG@1146308935$kCTFontTableEBDT@1161970772$kCTFontTableEBLC@1161972803$kCTFontTableEBSC@1161974595$kCTFontTableFdsc@1717859171$kCTFontTableFeat@1717920116$kCTFontTableFmtx@1718449272$kCTFontTableFpgm@1718642541$kCTFontTableFvar@1719034226$kCTFontTableGDEF@1195656518$kCTFontTableGPOS@1196445523$kCTFontTableGSUB@1196643650$kCTFontTableGasp@1734439792$kCTFontTableGlyf@1735162214$kCTFontTableGvar@1735811442$kCTFontTableHdmx@1751412088$kCTFontTableHead@1751474532$kCTFontTableHhea@1751672161$kCTFontTableHmtx@1752003704$kCTFontTableHsty@1752396921$kCTFontTableJSTF@1246975046$kCTFontTableJust@1786082164$kCTFontTableKern@1801810542$kCTFontTableLTSH@1280594760$kCTFontTableLcar@1818452338$kCTFontTableLoca@1819239265$kCTFontTableMaxp@1835104368$kCTFontTableMort@1836020340$kCTFontTableMorx@1836020344$kCTFontTableName@1851878757$kCTFontTableOS2@1330851634$kCTFontTableOpbd@1869636196$kCTFontTableOptionExcludeSynthetic@1$kCTFontTableOptionNoOptions@0$kCTFontTablePCLT@1346587732$kCTFontTablePost@1886352244$kCTFontTablePrep@1886545264$kCTFontTableProp@1886547824$kCTFontTableTrak@1953653099$kCTFontTableVDMX@1447316824$kCTFontTableVORG@1448038983$kCTFontTableVhea@1986553185$kCTFontTableVmtx@1986884728$kCTFontTableZapf@1516335206$kCTFontToolTipFontType@25$kCTFontToolbarFontType@21$kCTFontTransitionalSerifsClass@536870912$kCTFontUIOptimizedTrait@4096$kCTFontUnknownClass@0$kCTFontUserFixedPitchFontType@1$kCTFontUserFontType@0$kCTFontUtilityWindowTitleFontType@17$kCTFontVerticalOrientation@2$kCTFontVerticalTrait@2048$kCTFontViewsFontType@8$kCTFontWindowTitleFontType@15$kCTFrameProgressionRightToLeft@1$kCTFrameProgressionTopToBottom@0$kCTIdentityMappingCharacterCollection@0$kCTJustifiedTextAlignment@3$kCTLeftTextAlignment@0$kCTLineBreakByCharWrapping@1$kCTLineBreakByClipping@2$kCTLineBreakByTruncatingHead@3$kCTLineBreakByTruncatingMiddle@5$kCTLineBreakByTruncatingTail@4$kCTLineBreakByWordWrapping@0$kCTLineTruncationEnd@1$kCTLineTruncationMiddle@2$kCTLineTruncationStart@0$kCTNaturalTextAlignment@4$kCTParagraphStyleSpecifierAlignment@0$kCTParagraphStyleSpecifierBaseWritingDirection@13$kCTParagraphStyleSpecifierCount@14$kCTParagraphStyleSpecifierDefaultTabInterval@5$kCTParagraphStyleSpecifierFirstLineHeadIndent@1$kCTParagraphStyleSpecifierHeadIndent@2$kCTParagraphStyleSpecifierLineBreakMode@6$kCTParagraphStyleSpecifierLineHeightMultiple@7$kCTParagraphStyleSpecifierLineSpacing@10$kCTParagraphStyleSpecifierMaximumLineHeight@8$kCTParagraphStyleSpecifierMinimumLineHeight@9$kCTParagraphStyleSpecifierParagraphSpacing@11$kCTParagraphStyleSpecifierParagraphSpacingBefore@12$kCTParagraphStyleSpecifierTabStops@4$kCTParagraphStyleSpecifierTailIndent@3$kCTRightTextAlignment@1$kCTRunStatusHasNonIdentityMatrix@4$kCTRunStatusNoStatus@0$kCTRunStatusNonMonotonic@2$kCTRunStatusRightToLeft@1$kCTUnderlinePatternDash@512$kCTUnderlinePatternDashDot@768$kCTUnderlinePatternDashDotDot@1024$kCTUnderlinePatternDot@256$kCTUnderlinePatternSolid@0$kCTUnderlineStyleDouble@9$kCTUnderlineStyleNone@0$kCTUnderlineStyleSingle@1$kCTUnderlineStyleThick@2$kCTVersionNumber10_5@131072$kCTWritingDirectionLeftToRight@0$kCTWritingDirectionNatural@-1$kCTWritingDirectionRightToLeft@1$'''
misc.update({})
functions = {'CTLineCreateTruncatedLine': ('^{__CTLine=}^{__CTLine=}dI^{__CTLine=}', '', {'retval': {'type': b'^{__CTLine=}', 'already_cfretained': True}}), 'CTFramesetterCreateFrame': ('^{__CTFrame=}^{__CTFramesetter=}{_CFRange=ll}^{CGPath=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTFrame=}', 'already_cfretained': True}}), 'CTTypesetterSuggestClusterBreak': (sel32or64('l^{__CTTypesetter=}ld', 'q^{__CTTypesetter=}ld'),), 'CTFontCreateCopyWithFamily': (sel32or64('^{__CTFont=}^{__CTFont=}f^{CGAffineTransform=ffffff}^{__CFString=}', '^{__CTFont=}^{__CTFont=}d^{CGAffineTransform=dddddd}^{__CFString=}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}}), 'CTFontGetGlyphsForCharacters': ('Z^{__CTFont=}^T^Sl', '', {'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'^T', 'type_modifier': b'n', 'c_array_length_in_arg': 3}, 2: {'type': b'^S', 'type_modifier': b'o', 'c_array_length_in_arg': 3}, 3: {'type': b'l'}}}), 'CTLineGetPenOffsetForFlush': (sel32or64('d^{__CTLine=}fd', 'd^{__CTLine=}dd'),), 'CTTypesetterSuggestLineBreak': (sel32or64('l^{__CTTypesetter=}ld', 'q^{__CTTypesetter=}ld'),), 'CTFontCreateWithGraphicsFont': (sel32or64('^{__CTFont=}^{CGFont=}f^{CGAffineTransform=ffffff}^{__CTFontDescriptor=}', '^{__CTFont=}^{CGFont=}d^{CGAffineTransform=dddddd}^{__CTFontDescriptor=}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{CGFont=}'}, 1: {'type': sel32or64(b'f', b'd')}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}, 3: {'type': b'^{__CTFontDescriptor=}'}}}), 'CTFontCreateWithQuickdrawInstance': (sel32or64('^{__CTFont=}*sCf', '^{__CTFont=}*sCd'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}}), 'CTLineGetTypeID': (sel32or64('L', 'Q'),), 'CTRunGetStringIndices': ('v^{__CTRun=}{_CFRange=ll}^i', '', {'arguments': {0: {'type': b'^{__CTRun=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': b'^i', 'type_modifier': b'o', 'c_array_length_in_arg': 1}}}), 'CTFontCopyAvailableTables': ('^{__CFArray=}^{__CTFont=}I', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTFontGetAscent': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTTypesetterCreateLine': ('^{__CTLine=}^{__CTTypesetter=}{_CFRange=ll}', '', {'retval': {'type': b'^{__CTLine=}', 'already_cfretained': True}}), 'CTFontGetDescent': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTFontCreateWithFontDescriptor': (sel32or64('^{__CTFont=}^{__CTFontDescriptor=}f^{CGAffineTransform=ffffff}', '^{__CTFont=}^{__CTFontDescriptor=}d^{CGAffineTransform=dddddd}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CTFontDescriptor=}'}, 1: {'type': sel32or64(b'f', b'd')}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}}}), 'CTRunGetAttributes': ('^{__CFDictionary=}^{__CTRun=}',), 'CTFontCopySupportedLanguages': ('^{__CFArray=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTFontCopyVariationAxes': ('^{__CFArray=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTTextTabGetLocation': ('d^{__CTTextTab=}',), 'CTFontCopyPostScriptName': ('^{__CFString=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CTFrameGetVisibleStringRange': ('{_CFRange=ll}^{__CTFrame=}',), 'CTFontGetVerticalTranslationsForGlyphs': (sel32or64('v^{__CTFont=}^S^{_NSSize=ff}l', 'v^{__CTFont=}^S^{CGSize=dd}l'), '', {'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'^S', 'type_modifier': b'n', 'c_array_length_in_arg': 3}, 2: {'type': sel32or64(b'^{_NSSize=ff}', b'^{CGSize=dd}'), 'type_modifier': b'o', 'c_array_length_in_arg': 3}, 3: {'type': b'l'}}}), 'CTFramesetterCreateWithAttributedString': ('^{__CTFramesetter=}^{__CFAttributedString=}', '', {'retval': {'type': b'^{__CTFramesetter=}', 'already_cfretained': True}}), 'CTFontCreatePathForGlyph': (sel32or64('^{CGPath=}^{__CTFont=}S^{CGAffineTransform=ffffff}', '^{CGPath=}^{__CTFont=}S^{CGAffineTransform=dddddd}'), '', {'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'S'}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}}}), 'CTFrameDraw': ('v^{__CTFrame=}^{CGContext=}',), 'CTTextTabGetAlignment': ('C^{__CTTextTab=}',), 'CTFontDescriptorCopyAttribute': ('@^{__CTFontDescriptor=}^{__CFString=}', '', {'retval': {'type': b'@', 'already_cfretained': True}}), 'CTFontCreateWithFontDescriptorAndOptions': (sel32or64('^{__CTFont=}^{__CTFontDescriptor=}f^{CGAffineTransform=ffffff}i', '^{__CTFont=}^{__CTFontDescriptor=}d^{CGAffineTransform=dddddd}q'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CTFontDescriptor=}'}, 1: {'type': sel32or64(b'f', b'd')}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}, 3: {'type': sel32or64(b'i', b'q')}}}), 'CTFontGetMatrix': (sel32or64('{CGAffineTransform=ffffff}^{__CTFont=}', '{CGAffineTransform=dddddd}^{__CTFont=}'),), 'CTFontGetSymbolicTraits': ('I^{__CTFont=}',), 'CTFontCreateCopyWithAttributes': (sel32or64('^{__CTFont=}^{__CTFont=}f^{CGAffineTransform=ffffff}^{__CTFontDescriptor=}', '^{__CTFont=}^{__CTFont=}d^{CGAffineTransform=dddddd}^{__CTFontDescriptor=}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}}), 'CTFontCopyFamilyName': ('^{__CFString=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CTGlyphInfoGetTypeID': (sel32or64('L', 'Q'),), 'CTParagraphStyleCreate': (sel32or64('^{__CTParagraphStyle=}^{CTParagraphStyleSetting=II^v}l', '^{__CTParagraphStyle=}^{CTParagraphStyleSetting=IQ^v}l'), '', {'retval': {'type': b'^{__CTParagraphStyle=}', 'already_cfretained': True}, 'arguments': {0: {'type': sel32or64(b'^{CTParagraphStyleSetting=II^v}', b'^{CTParagraphStyleSetting=IQ^v}'), 'type_modifier': b'n', 'c_array_length_in_arg': 1}, 1: {'type': b'l'}}}), 'CTRunGetImageBounds': (sel32or64('{_NSRect={_NSPoint=ff}{_NSSize=ff}}^{__CTRun=}^{CGContext=}{_CFRange=ll}', '{CGRect={CGPoint=dd}{CGSize=dd}}^{__CTRun=}^{CGContext=}{_CFRange=ll}'),), 'CTRunGetStatus': ('I^{__CTRun=}',), 'CTFontGetUnitsPerEm': ('I^{__CTFont=}',), 'CTFontCopyVariation': ('^{__CFDictionary=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CTFontGetBoundingBox': (sel32or64('{_NSRect={_NSPoint=ff}{_NSSize=ff}}^{__CTFont=}', '{CGRect={CGPoint=dd}{CGSize=dd}}^{__CTFont=}'),), 'CTTextTabCreate': ('^{__CTTextTab=}Cd^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTTextTab=}', 'already_cfretained': True}}), 'CTFrameGetPath': ('^{CGPath=}^{__CTFrame=}',), 'CTFrameGetTypeID': (sel32or64('L', 'Q'),), 'CTFramesetterGetTypeID': (sel32or64('L', 'Q'),), 'CTFontCollectionCreateFromAvailableFonts': ('^{__CTFontCollection=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTFontCollection=}', 'already_cfretained': True}}), 'CTRunGetGlyphsPtr': ('r^S^{__CTRun=}', '', {'retval': {'type': b'r^S', 'c_array_of_variable_length': True}}), 'CTFontGetGlyphCount': (sel32or64('l^{__CTFont=}', 'q^{__CTFont=}'),), 'CTGlyphInfoGetCharacterCollection': ('S^{__CTGlyphInfo=}',), 'CTFontCopyAttribute': ('@^{__CTFont=}^{__CFString=}', '', {'retval': {'type': b'@', 'already_cfretained': True}}), 'CTFontGetBoundingRectsForGlyphs': (sel32or64('{_NSRect={_NSPoint=ff}{_NSSize=ff}}^{__CTFont=}I^S^{_NSRect={_NSPoint=ff}{_NSSize=ff}}l', '{CGRect={CGPoint=dd}{CGSize=dd}}^{__CTFont=}I^S^{CGRect={CGPoint=dd}{CGSize=dd}}l'), '', {'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'I'}, 2: {'type': b'^S', 'type_modifier': b'n', 'c_array_length_in_arg': 4}, 3: {'type': sel32or64(b'^{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'^{CGRect={CGPoint=dd}{CGSize=dd}}'), 'type_modifier': b'o', 'c_array_length_in_arg': 4}, 4: {'type': b'l'}}}), 'CTFrameGetFrameAttributes': ('^{__CFDictionary=}^{__CTFrame=}',), 'CTTypesetterCreateWithAttributedStringAndOptions': ('^{__CTTypesetter=}^{__CFAttributedString=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTTypesetter=}', 'already_cfretained': True}}), 'CTLineGetImageBounds': (sel32or64('{_NSRect={_NSPoint=ff}{_NSSize=ff}}^{__CTLine=}^{CGContext=}', '{CGRect={CGPoint=dd}{CGSize=dd}}^{__CTLine=}^{CGContext=}'),), 'CTFontCopyDisplayName': ('^{__CFString=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CTGetCoreTextVersion': ('I',), 'CTParagraphStyleCreateCopy': ('^{__CTParagraphStyle=}^{__CTParagraphStyle=}', '', {'retval': {'type': b'^{__CTParagraphStyle=}', 'already_cfretained': True}}), 'CTFontGetAdvancesForGlyphs': (sel32or64('d^{__CTFont=}I^S^{_NSSize=ff}l', 'd^{__CTFont=}I^S^{CGSize=dd}l'), '', {'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'I'}, 2: {'type': b'^S', 'type_modifier': b'n', 'c_array_length_in_arg': 4}, 3: {'type': sel32or64(b'^{_NSSize=ff}', b'^{CGSize=dd}'), 'type_modifier': b'o', 'c_array_length_in_arg': 4}, 4: {'type': b'l'}}}), 'CTTextTabGetOptions': ('^{__CFDictionary=}^{__CTTextTab=}',), 'CTGlyphInfoCreateWithGlyph': ('^{__CTGlyphInfo=}S^{__CTFont=}^{__CFString=}', '', {'retval': {'type': b'^{__CTGlyphInfo=}', 'already_cfretained': True}}), 'CTFontGetSize': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTRunGetTypeID': (sel32or64('L', 'Q'),), 'CTLineGetTypographicBounds': (sel32or64('d^{__CTLine=}^f^f^f', 'd^{__CTLine=}^d^d^d'), '', {'arguments': {0: {'type': b'^{__CTLine=}'}, 1: {'type': sel32or64(b'^f', b'^d'), 'type_modifier': b'o'}, 2: {'type': sel32or64(b'^f', b'^d'), 'type_modifier': b'o'}, 3: {'type': sel32or64(b'^f', b'^d'), 'type_modifier': b'o'}}}), 'CTFontGetPlatformFont': (sel32or64('L^{__CTFont=}^^{__CTFontDescriptor}', 'I^{__CTFont=}^^{__CTFontDescriptor}'), '', {'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'^^{__CTFontDescriptor}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CTLineGetTrailingWhitespaceWidth': ('d^{__CTLine=}',), 'CTFontCopyTable': ('^{__CFData=}^{__CTFont=}II', '', {'retval': {'type': b'^{__CFData=}', 'already_cfretained': True}}), 'CTGlyphInfoCreateWithCharacterIdentifier': ('^{__CTGlyphInfo=}SS^{__CFString=}', '', {'retval': {'type': b'^{__CTGlyphInfo=}', 'already_cfretained': True}}), 'CTFontCopyCharacterSet': ('^{__CFCharacterSet=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFCharacterSet=}', 'already_cfretained': True}}), 'CTFontGetStringEncoding': (sel32or64('L^{__CTFont=}', 'I^{__CTFont=}'),), 'CTRunGetAdvances': (sel32or64('v^{__CTRun=}{_CFRange=ll}^{_NSSize=ff}', 'v^{__CTRun=}{_CFRange=ll}^{CGSize=dd}'), '', {'arguments': {0: {'type': b'^{__CTRun=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': sel32or64(b'^{_NSSize=ff}', b'^{CGSize=dd}'), 'type_modifier': b'o', 'c_array_length_in_arg': 1}}}), 'CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback': ('^{__CFArray=}^{__CTFontCollection=}^?@', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CTFontCollection=}'}, 1: {'callable': {'retval': {'type': b'i'}, 'arguments': {0: {'type': b'^{__CTFontDescriptor=}'}, 1: {'type': b'^{__CTFontDescriptor=}'}, 2: {'type': b'@'}}}, 'type': b'^?', 'callable_retained': False}, 2: {'type': b'@'}}}), 'CTFontCopyFullName': ('^{__CFString=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CTParagraphStyleGetValueForSpecifier': ('B^{__CTParagraphStyle=}IL^v', '', {'arguments': {0: {'type': b'^{__CTParagraphStyle=}'}, 1: {'type': b'I'}, 2: {'type': b'L'}, 3: {'type': b'^v', 'type_modifier': b'o', 'c_array_length_in_arg': 2}}}), 'CTLineGetOffsetForStringIndex': (sel32or64('f^{__CTLine=}l^f', 'd^{__CTLine=}l^d'), '', {'arguments': {0: {'type': b'^{__CTLine=}'}, 1: {'type': b'l'}, 2: {'type': sel32or64(b'^f', b'^d'), 'type_modifier': b'o'}}}), 'CTFontCopyLocalizedName': ('^{__CFString=}^{__CTFont=}^{__CFString=}^^{__CFString}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'^{__CFString=}'}, 2: {'type': b'^^{__CFString}', 'type_modifier': b'o'}}}), 'CTFontGetTypeID': (sel32or64('L', 'Q'),), 'CTGlyphInfoGetCharacterIdentifier': ('S^{__CTGlyphInfo=}',), 'CTFontCreateWithPlatformFont': (sel32or64('^{__CTFont=}Lf^{CGAffineTransform=ffffff}^{__CTFontDescriptor=}', '^{__CTFont=}Ld^{CGAffineTransform=dddddd}^{__CTFontDescriptor=}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'L'}, 1: {'type': sel32or64(b'f', b'd')}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}, 3: {'type': b'^{__CTFontDescriptor=}'}}}), 'CTFontCollectionGetTypeID': (sel32or64('L', 'Q'),), 'CTFontGetGlyphWithName': ('S^{__CTFont=}^{__CFString=}',), 'CTLineGetGlyphRuns': ('^{__CFArray=}^{__CTLine=}',), 'CTFontCreateWithNameAndOptions': (sel32or64('^{__CTFont=}^{__CFString=}f^{CGAffineTransform=ffffff}i', '^{__CTFont=}^{__CFString=}d^{CGAffineTransform=dddddd}q'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CFString=}'}, 1: {'type': sel32or64(b'f', b'd')}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}, 3: {'type': sel32or64(b'i', b'q')}}}), 'CTFontDescriptorCreateCopyWithAttributes': ('^{__CTFontDescriptor=}^{__CTFontDescriptor=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTFontCollectionCreateCopyWithFontDescriptors': ('^{__CTFontCollection=}^{__CTFontCollection=}^{__CFArray=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTFontCollection=}', 'already_cfretained': True}}), 'CTFontGetCapHeight': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTFontGetUnderlineThickness': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTFontCopyFeatureSettings': ('^{__CFArray=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTFontDescriptorCreateMatchingFontDescriptor': ('^{__CTFontDescriptor=}^{__CTFontDescriptor=}^{__CFSet=}', '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTLineGetGlyphCount': (sel32or64('l^{__CTLine=}', 'q^{__CTLine=}'),), 'CTLineDraw': ('v^{__CTLine=}^{CGContext=}',), 'CTRunGetStringRange': ('{_CFRange=ll}^{__CTRun=}',), 'CTTypesetterGetTypeID': (sel32or64('L', 'Q'),), 'CTRunGetTextMatrix': (sel32or64('{CGAffineTransform=ffffff}^{__CTRun=}', '{CGAffineTransform=dddddd}^{__CTRun=}'),), 'CTFontDescriptorCreateWithNameAndSize': (sel32or64('^{__CTFontDescriptor=}^{__CFString=}f', '^{__CTFontDescriptor=}^{__CFString=}d'), '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTLineGetStringRange': ('{_CFRange=ll}^{__CTLine=}',), 'CTLineCreateJustifiedLine': (sel32or64('^{__CTLine=}^{__CTLine=}fd', '^{__CTLine=}^{__CTLine=}dd'), '', {'retval': {'type': b'^{__CTLine=}', 'already_cfretained': True}}), 'CTFrameGetLines': ('^{__CFArray=}^{__CTFrame=}',), 'CTFontCopyFontDescriptor': ('^{__CTFontDescriptor=}^{__CTFont=}', '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTRunGetGlyphCount': (sel32or64('l^{__CTRun=}', 'q^{__CTRun=}'),), 'CTFontDescriptorCreateMatchingFontDescriptors': ('^{__CFArray=}^{__CTFontDescriptor=}^{__CFSet=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTRunDraw': ('v^{__CTRun=}^{CGContext=}{_CFRange=ll}',), 'CTFontDescriptorCopyLocalizedAttribute': ('@^{__CTFontDescriptor=}^{__CFString=}^^{__CFString}', '', {'retval': {'type': b'@', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CTFontDescriptor=}'}, 1: {'type': b'^{__CFString=}'}, 2: {'type': b'^^{__CFString}', 'type_modifier': b'o'}}}), 'CTFrameGetStringRange': ('{_CFRange=ll}^{__CTFrame=}',), 'CTFrameGetLineOrigins': (sel32or64('v^{__CTFrame=}{_CFRange=ll}^{_NSPoint=ff}', 'v^{__CTFrame=}{_CFRange=ll}^{CGPoint=dd}'), '', {'arguments': {0: {'type': b'^{__CTFrame=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': sel32or64(b'^{_NSPoint=ff}', b'^{CGPoint=dd}'), 'type_modifier': b'o', 'c_array_length_in_arg': 1}}}), 'CTFontCreateWithName': (sel32or64('^{__CTFont=}^{__CFString=}f^{CGAffineTransform=ffffff}', '^{__CTFont=}^{__CFString=}d^{CGAffineTransform=dddddd}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CFString=}'}, 1: {'type': sel32or64(b'f', b'd')}, 2: {'type': sel32or64(b'^{CGAffineTransform=ffffff}', b'^{CGAffineTransform=dddddd}'), 'type_modifier': b'n'}}}), 'CTFramesetterGetTypesetter': ('^{__CTTypesetter=}^{__CTFramesetter=}',), 'CTGlyphInfoCreateWithGlyphName': ('^{__CTGlyphInfo=}^{__CFString=}^{__CTFont=}^{__CFString=}', '', {'retval': {'type': b'^{__CTGlyphInfo=}', 'already_cfretained': True}}), 'CTFontCopyGraphicsFont': ('^{CGFont=}^{__CTFont=}^^{__CTFontDescriptor}', '', {'retval': {'type': b'^{CGFont=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CTFont=}'}, 1: {'type': b'^^{__CTFontDescriptor}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CTFontDescriptorCreateCopyWithFeature': ('^{__CTFontDescriptor=}^{__CTFontDescriptor=}^{__CFNumber=}^{__CFNumber=}', '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTFontGetXHeight': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTRunGetPositions': (sel32or64('v^{__CTRun=}{_CFRange=ll}^{_NSPoint=ff}', 'v^{__CTRun=}{_CFRange=ll}^{CGPoint=dd}'), '', {'arguments': {0: {'type': b'^{__CTRun=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': sel32or64(b'^{_NSPoint=ff}', b'^{CGPoint=dd}'), 'type_modifier': b'o', 'c_array_length_in_arg': 1}}}), 'CTFontDescriptorCreateCopyWithVariation': (sel32or64('^{__CTFontDescriptor=}^{__CTFontDescriptor=}^{__CFNumber=}f', '^{__CTFontDescriptor=}^{__CTFontDescriptor=}^{__CFNumber=}d'), '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTFontDescriptorCreateWithAttributes': ('^{__CTFontDescriptor=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTFontDescriptor=}', 'already_cfretained': True}}), 'CTFontDescriptorGetTypeID': (sel32or64('L', 'Q'),), 'CTFontCollectionCreateMatchingFontDescriptors': ('^{__CFArray=}^{__CTFontCollection=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTTextTabGetTypeID': (sel32or64('L', 'Q'),), 'CTFontCreateCopyWithSymbolicTraits': (sel32or64('^{__CTFont=}^{__CTFont=}f^{CGAffineTransform=ffffff}II', '^{__CTFont=}^{__CTFont=}d^{CGAffineTransform=dddddd}II'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}}), 'CTFontCopyTraits': ('^{__CFDictionary=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CTRunGetStringIndicesPtr': (sel32or64('r^i^{__CTRun=}', 'r^q^{__CTRun=}'), '', {'retval': {'type': sel32or64(b'r^i', b'r^q'), 'c_array_of_variable_length': True}}), 'CTLineGetStringIndexForPosition': (sel32or64('l^{__CTLine=}{_NSPoint=ff}', 'q^{__CTLine=}{CGPoint=dd}'),), 'CTFontDescriptorCopyAttributes': ('^{__CFDictionary=}^{__CTFontDescriptor=}', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CTFontGetLeading': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTRunGetGlyphs': ('v^{__CTRun=}{_CFRange=ll}^S', '', {'arguments': {0: {'type': b'^{__CTRun=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': b'^S', 'type_modifier': b'o', 'c_array_length_in_arg': 1}}}), 'CTFontCollectionCreateWithFontDescriptors': ('^{__CTFontCollection=}^{__CFArray=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CTFontCollection=}', 'already_cfretained': True}}), 'CTFontGetUnderlinePosition': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTRunGetTypographicBounds': ('d^{__CTRun=}{_CFRange=ll}^f^f^f', '', {'arguments': {0: {'type': b'^{__CTRun=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': b'^f', 'type_modifier': b'o'}, 3: {'type': b'^f', 'type_modifier': b'o'}, 4: {'type': b'^f', 'type_modifier': b'o'}}}), 'CTTypesetterCreateWithAttributedString': ('^{__CTTypesetter=}^{__CFAttributedString=}', '', {'retval': {'type': b'^{__CTTypesetter=}', 'already_cfretained': True}}), 'CTLineCreateWithAttributedString': ('^{__CTLine=}^{__CFAttributedString=}', '', {'retval': {'type': b'^{__CTLine=}', 'already_cfretained': True}}), 'CTFontCopyName': ('^{__CFString=}^{__CTFont=}^{__CFString=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CTFontGetSlantAngle': (sel32or64('f^{__CTFont=}', 'd^{__CTFont=}'),), 'CTFramesetterSuggestFrameSizeWithConstraints': (sel32or64('{_NSSize=ff}^{__CTTypesetter=}{_CFRange=ll}@{_NSSize=ff}^{_CFRange=ll}', '{CGSize=dd}^{__CTTypesetter=}{_CFRange=ll}@{CGSize=dd}^{_CFRange=ll}'), '', {'arguments': {0: {'type': b'^{__CTTypesetter=}'}, 1: {'type': b'{_CFRange=ll}'}, 2: {'type': b'@'}, 3: {'type': sel32or64(b'{_NSSize=ff}', b'{CGSize=dd}')}, 4: {'type': b'^{_CFRange=ll}', 'type_modifier': b'o'}}}), 'CTFontCopyFeatures': ('^{__CFArray=}^{__CTFont=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CTFontCreateForString': ('^{__CTFont=}^{__CTFont=}^{__CFString=}{_CFRange=ll}', '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}}), 'CTGlyphInfoGetGlyphName': ('^{__CFString=}^{__CTGlyphInfo=}',), 'CTParagraphStyleGetTypeID': (sel32or64('L', 'Q'),), 'CTFontCreateUIFontForLanguage': (sel32or64('^{__CTFont=}If^{__CFString=}', '^{__CTFont=}Id^{__CFString=}'), '', {'retval': {'type': b'^{__CTFont=}', 'already_cfretained': True}}), 'CTRunGetPositionsPtr': (sel32or64('r^{_NSPoint=ff}^{__CTRun=}', 'r^{CGPoint=dd}^{__CTRun=}'), '', {'retval': {'type': sel32or64(b'r^{_NSPoint=ff}', b'r^{CGPoint=dd}'), 'c_array_of_variable_length': True}})}
cftypes = []
cftypes.append(('CTFontCollectionRef', '^{__CTFontCollection=}', 'CTFontCollectionGetTypeID', None))
cftypes.append(('CTFontDescriptorRef', '^{__CTFontDescriptor=}', 'CTFontDescriptorGetTypeID', 'NSCTFontDescriptor'))
cftypes.append(('CTFontRef', '^{__CTFont=}', 'CTFontGetTypeID', 'NSCTFont'))
cftypes.append(('CTFrameRef', '^{__CTFrame=}', 'CTFrameGetTypeID', None))
cftypes.append(('CTFramesetterRef', '^{__CTFramesetter=}', 'CTFramesetterGetTypeID', None))
cftypes.append(('CTGlyphInfoRef', '^{__CTGlyphInfo=}', 'CTGlyphInfoGetTypeID', 'NSCTGlyphInfo'))
cftypes.append(('CTLineRef', '^{__CTLine=}', 'CTLineGetTypeID', None))
cftypes.append(('CTParagraphStyleRef', '^{__CTParagraphStyle=}', 'CTParagraphStyleGetTypeID', None))
cftypes.append(('CTRunRef', '^{__CTRun=}', 'CTRunGetTypeID', None))
cftypes.append(('CTTextTabRef', '^{__CTTextTab=}', 'CTTextTabGetTypeID', None))
cftypes.append(('CTTypesetterRef', '^{__CTTypesetter=}', 'CTTypesetterGetTypeID', None))
r = objc.registerMetaDataForSelector
objc._updatingMetadata(True)
try:
    pass
finally:
    objc._updatingMetadata(False)