Documentation Archive Developer
Search

ApplicationServices Changes for Objective-C

ApplicationServices

ATSUnicodeDirectAccess.h

Removed ATSUDirectAddStyleSettingRef()
Removed ATSUDirectGetLayoutDataArrayPtrFromLineRef()
Removed ATSUDirectGetLayoutDataArrayPtrFromTextLayout()
Removed ATSUDirectReleaseLayoutDataArrayPtr()

ATSUnicodeDrawing.h

Removed ATSUBatchBreakLines()
Removed ATSUBreakLine()
Removed ATSUClearSoftLineBreaks()
Removed ATSUDrawText()
Removed ATSUGetGlyphBounds()
Removed ATSUGetSoftLineBreaks()
Removed ATSUGetTextHighlight()
Removed ATSUGetUnjustifiedBounds()
Removed ATSUHighlightInactiveText()
Removed ATSUHighlightText()
Removed ATSULeftwardCursorPosition()
Removed ATSUMeasureText()
Removed ATSUMeasureTextImage()
Removed ATSUNextCursorPosition()
Removed ATSUOffsetToCursorPosition()
Removed ATSUOffsetToPosition()
Removed ATSUPositionToCursorOffset()
Removed ATSUPositionToOffset()
Removed ATSUPreviousCursorPosition()
Removed ATSURightwardCursorPosition()
Removed ATSUSetHighlightingMethod()
Removed ATSUSetSoftLineBreak()
Removed ATSUUnhighlightText()

ATSUnicodeFlattening.h

Removed ATSUCopyToHandle()
Removed ATSUFlattenStyleRunsToStream()
Removed ATSUPasteFromHandle()
Removed ATSUUnflattenStyleRunsFromStream()

ATSUnicodeFonts.h

Removed ATSUClearFontFeatures()
Removed ATSUClearFontVariations()
Removed ATSUCountFontFeatureSelectors()
Removed ATSUCountFontFeatureTypes()
Removed ATSUCountFontInstances()
Removed ATSUCountFontNames()
Removed ATSUCountFontTracking()
Removed ATSUCountFontVariations()
Removed ATSUFindFontFromName()
Removed ATSUFindFontName()
Removed ATSUFONDtoFontID()
Removed ATSUFontCount()
Removed ATSUFontIDtoFOND()
Removed ATSUGetAllFontFeatures()
Removed ATSUGetAllFontVariations()
Removed ATSUGetFontFeature()
Removed ATSUGetFontFeatureNameCode()
Removed ATSUGetFontFeatureSelectors()
Removed ATSUGetFontFeatureTypes()
Removed ATSUGetFontIDs()
Removed ATSUGetFontInstance()
Removed ATSUGetFontInstanceNameCode()
Removed ATSUGetFontVariationNameCode()
Removed ATSUGetFontVariationValue()
Removed ATSUGetIndFontName()
Removed ATSUGetIndFontTracking()
Removed ATSUGetIndFontVariation()
Removed ATSUSetFontFeatures()
Removed ATSUSetVariations()

ATSUnicodeGlyphs.h

Removed ATSUDrawGlyphInfo()
Removed ATSUGetGlyphInfo()
Removed ATSUGetNativeCurveType()
Removed ATSUGlyphGetCubicPaths()
Removed ATSUGlyphGetCurvePaths()
Removed ATSUGlyphGetIdealMetrics()
Removed ATSUGlyphGetQuadraticPaths()
Removed ATSUGlyphGetScreenMetrics()
Removed DisposeATSCubicClosePathUPP()
Removed #def DisposeATSCubicClosePathUPP
Removed DisposeATSCubicCurveToUPP()
Removed #def DisposeATSCubicCurveToUPP
Removed DisposeATSCubicLineToUPP()
Removed #def DisposeATSCubicLineToUPP
Removed DisposeATSCubicMoveToUPP()
Removed #def DisposeATSCubicMoveToUPP
Removed DisposeATSQuadraticClosePathUPP()
Removed #def DisposeATSQuadraticClosePathUPP
Removed DisposeATSQuadraticCurveUPP()
Removed #def DisposeATSQuadraticCurveUPP
Removed DisposeATSQuadraticLineUPP()
Removed #def DisposeATSQuadraticLineUPP
Removed DisposeATSQuadraticNewPathUPP()
Removed #def DisposeATSQuadraticNewPathUPP
Removed InvokeATSCubicClosePathUPP()
Removed #def InvokeATSCubicClosePathUPP
Removed InvokeATSCubicCurveToUPP()
Removed #def InvokeATSCubicCurveToUPP
Removed InvokeATSCubicLineToUPP()
Removed #def InvokeATSCubicLineToUPP
Removed InvokeATSCubicMoveToUPP()
Removed #def InvokeATSCubicMoveToUPP
Removed InvokeATSQuadraticClosePathUPP()
Removed #def InvokeATSQuadraticClosePathUPP
Removed InvokeATSQuadraticCurveUPP()
Removed #def InvokeATSQuadraticCurveUPP
Removed InvokeATSQuadraticLineUPP()
Removed #def InvokeATSQuadraticLineUPP
Removed InvokeATSQuadraticNewPathUPP()
Removed #def InvokeATSQuadraticNewPathUPP
Removed NewATSCubicClosePathUPP()
Removed #def NewATSCubicClosePathUPP
Removed NewATSCubicCurveToUPP()
Removed #def NewATSCubicCurveToUPP
Removed NewATSCubicLineToUPP()
Removed #def NewATSCubicLineToUPP
Removed NewATSCubicMoveToUPP()
Removed #def NewATSCubicMoveToUPP
Removed NewATSQuadraticClosePathUPP()
Removed #def NewATSQuadraticClosePathUPP
Removed NewATSQuadraticCurveUPP()
Removed #def NewATSQuadraticCurveUPP
Removed NewATSQuadraticLineUPP()
Removed #def NewATSQuadraticLineUPP
Removed NewATSQuadraticNewPathUPP()
Removed #def NewATSQuadraticNewPathUPP

ATSUnicodeObjects.h

Removed ATSUCalculateBaselineDeltas()
Removed ATSUClearAttributes()
Removed ATSUClearLayoutCache()
Removed ATSUClearLayoutControls()
Removed ATSUClearLineControls()
Removed ATSUClearStyle()
Removed ATSUCompareStyles()
Removed ATSUCopyAttributes()
Removed ATSUCopyLayoutControls()
Removed ATSUCopyLineControls()
Removed ATSUCreateAndCopyStyle()
Removed ATSUCreateAndCopyTextLayout()
Removed ATSUCreateFontFallbacks()
Removed ATSUCreateStyle()
Removed ATSUCreateTextLayout()
Removed ATSUCreateTextLayoutWithTextHandle()
Removed ATSUCreateTextLayoutWithTextPtr()
Removed ATSUDisposeFontFallbacks()
Removed ATSUDisposeStyle()
Removed ATSUDisposeTextLayout()
Removed ATSUGetAllAttributes()
Removed ATSUGetAllLayoutControls()
Removed ATSUGetAllLineControls()
Removed ATSUGetAttribute()
Removed ATSUGetContinuousAttributes()
Removed ATSUGetFontFallbacks()
Removed ATSUGetLayoutControl()
Removed ATSUGetLineControl()
Removed ATSUGetObjFontFallbacks()
Removed ATSUGetRunStyle()
Removed ATSUGetStyleRefCon()
Removed ATSUGetTabArray()
Removed ATSUGetTextLayoutRefCon()
Removed ATSUGetTextLocation()
Removed ATSUGetTransientFontMatching()
Removed ATSUIdle()
Removed ATSUMatchFontsToText()
Removed ATSUOverwriteAttributes()
Removed ATSUSetAttributes()
Removed ATSUSetFontFallbacks()
Removed ATSUSetLayoutControls()
Removed ATSUSetLineControls()
Removed ATSUSetObjFontFallbacks()
Removed ATSUSetRunStyle()
Removed ATSUSetStyleRefCon()
Removed ATSUSetTabArray()
Removed ATSUSetTextHandleLocation()
Removed ATSUSetTextLayoutRefCon()
Removed ATSUSetTextPointerLocation()
Removed ATSUSetTransientFontMatching()
Removed ATSUStyleIsEmpty()
Removed ATSUTextDeleted()
Removed ATSUTextInserted()
Removed ATSUTextMoved()
Removed ATSUUnderwriteAttributes()

ATSUnicodeTypes.h

Removed DisposeRedrawBackgroundUPP()
Removed #def DisposeRedrawBackgroundUPP
Removed InvokeRedrawBackgroundUPP()
Removed #def InvokeRedrawBackgroundUPP
Removed NewRedrawBackgroundUPP()
Removed #def NewRedrawBackgroundUPP

AXTextAttributedString.h

AXUIElement.h

Declaration
From
Boolean AXIsProcessTrustedWithOptions (
    CFDictionaryRef options
);
To
Boolean AXIsProcessTrustedWithOptions (
    CFDictionaryRef _Nullable options
);

Declaration
From
AXError AXMakeProcessTrusted (
    CFStringRef executablePath
);
To
AXError AXMakeProcessTrusted (
    CFStringRef _Nonnull executablePath
);

Declaration
From
AXError AXObserverAddNotification (
    AXObserverRef observer,
    AXUIElementRef element,
    CFStringRef notification,
    void *refcon
);
To
AXError AXObserverAddNotification (
    AXObserverRef _Nonnull observer,
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull notification,
    void * _Nullable refcon
);

Declaration
From
AXError AXObserverCreate (
    pid_t application,
    AXObserverCallback callback,
    AXObserverRef *outObserver
);
To
AXError AXObserverCreate (
    pid_t application,
    AXObserverCallback _Nonnull callback,
    AXObserverRef  _Nullable * _Nonnull outObserver
);

Declaration
From
AXError AXObserverCreateWithInfoCallback (
    pid_t application,
    AXObserverCallbackWithInfo callback,
    AXObserverRef *outObserver
);
To
AXError AXObserverCreateWithInfoCallback (
    pid_t application,
    AXObserverCallbackWithInfo _Nonnull callback,
    AXObserverRef  _Nullable * _Nonnull outObserver
);

Declaration
From
CFRunLoopSourceRef AXObserverGetRunLoopSource (
    AXObserverRef observer
);
To
CFRunLoopSourceRef _Nonnull AXObserverGetRunLoopSource (
    AXObserverRef _Nonnull observer
);

Declaration
From
AXError AXObserverRemoveNotification (
    AXObserverRef observer,
    AXUIElementRef element,
    CFStringRef notification
);
To
AXError AXObserverRemoveNotification (
    AXObserverRef _Nonnull observer,
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull notification
);

Declaration
From
AXError AXUIElementCopyActionDescription (
    AXUIElementRef element,
    CFStringRef action,
    CFStringRef *description
);
To
AXError AXUIElementCopyActionDescription (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull action,
    CFStringRef  _Nullable * _Nonnull description
);

Declaration
From
AXError AXUIElementCopyActionNames (
    AXUIElementRef element,
    CFArrayRef *names
);
To
AXError AXUIElementCopyActionNames (
    AXUIElementRef _Nonnull element,
    CFArrayRef  _Nullable * _Nonnull names
);

Declaration
From
AXError AXUIElementCopyAttributeNames (
    AXUIElementRef element,
    CFArrayRef *names
);
To
AXError AXUIElementCopyAttributeNames (
    AXUIElementRef _Nonnull element,
    CFArrayRef  _Nullable * _Nonnull names
);

Declaration
From
AXError AXUIElementCopyAttributeValue (
    AXUIElementRef element,
    CFStringRef attribute,
    CFTypeRef *value
);
To
AXError AXUIElementCopyAttributeValue (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull attribute,
    CFTypeRef  _Nullable * _Nonnull value
);

Declaration
From
AXError AXUIElementCopyAttributeValues (
    AXUIElementRef element,
    CFStringRef attribute,
    CFIndex index,
    CFIndex maxValues,
    CFArrayRef *values
);
To
AXError AXUIElementCopyAttributeValues (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull attribute,
    CFIndex index,
    CFIndex maxValues,
    CFArrayRef  _Nullable * _Nonnull values
);

Declaration
From
AXError AXUIElementCopyElementAtPosition (
    AXUIElementRef application,
    float x,
    float y,
    AXUIElementRef *element
);
To
AXError AXUIElementCopyElementAtPosition (
    AXUIElementRef _Nonnull application,
    float x,
    float y,
    AXUIElementRef  _Nullable * _Nonnull element
);

Declaration
From
AXError AXUIElementCopyMultipleAttributeValues (
    AXUIElementRef element,
    CFArrayRef attributes,
    AXCopyMultipleAttributeOptions options,
    CFArrayRef *values
);
To
AXError AXUIElementCopyMultipleAttributeValues (
    AXUIElementRef _Nonnull element,
    CFArrayRef _Nonnull attributes,
    AXCopyMultipleAttributeOptions options,
    CFArrayRef  _Nullable * _Nonnull values
);

Declaration
From
AXError AXUIElementCopyParameterizedAttributeNames (
    AXUIElementRef element,
    CFArrayRef *names
);
To
AXError AXUIElementCopyParameterizedAttributeNames (
    AXUIElementRef _Nonnull element,
    CFArrayRef  _Nullable * _Nonnull names
);

Declaration
From
AXError AXUIElementCopyParameterizedAttributeValue (
    AXUIElementRef element,
    CFStringRef parameterizedAttribute,
    CFTypeRef parameter,
    CFTypeRef *result
);
To
AXError AXUIElementCopyParameterizedAttributeValue (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull parameterizedAttribute,
    CFTypeRef _Nonnull parameter,
    CFTypeRef  _Nullable * _Nonnull result
);

Declaration
From
AXUIElementRef AXUIElementCreateApplication (
    pid_t pid
);
To
AXUIElementRef _Nonnull AXUIElementCreateApplication (
    pid_t pid
);

Declaration
From
AXUIElementRef AXUIElementCreateSystemWide (
    void
);
To
AXUIElementRef _Nonnull AXUIElementCreateSystemWide (
    void
);

Declaration
From
AXError AXUIElementGetAttributeValueCount (
    AXUIElementRef element,
    CFStringRef attribute,
    CFIndex *count
);
To
AXError AXUIElementGetAttributeValueCount (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull attribute,
    CFIndex * _Nonnull count
);

Declaration
From
AXError AXUIElementGetPid (
    AXUIElementRef element,
    pid_t *pid
);
To
AXError AXUIElementGetPid (
    AXUIElementRef _Nonnull element,
    pid_t * _Nonnull pid
);

Declaration
From
AXError AXUIElementIsAttributeSettable (
    AXUIElementRef element,
    CFStringRef attribute,
    Boolean *settable
);
To
AXError AXUIElementIsAttributeSettable (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull attribute,
    Boolean * _Nonnull settable
);

Declaration
From
AXError AXUIElementPerformAction (
    AXUIElementRef element,
    CFStringRef action
);
To
AXError AXUIElementPerformAction (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull action
);

Declaration
From
AXError AXUIElementPostKeyboardEvent (
    AXUIElementRef application,
    CGCharCode keyChar,
    CGKeyCode virtualKey,
    Boolean keyDown
);
To
AXError AXUIElementPostKeyboardEvent (
    AXUIElementRef _Nonnull application,
    CGCharCode keyChar,
    CGKeyCode virtualKey,
    Boolean keyDown
);

Declaration
From
AXError AXUIElementSetAttributeValue (
    AXUIElementRef element,
    CFStringRef attribute,
    CFTypeRef value
);
To
AXError AXUIElementSetAttributeValue (
    AXUIElementRef _Nonnull element,
    CFStringRef _Nonnull attribute,
    CFTypeRef _Nonnull value
);

Declaration
From
AXError AXUIElementSetMessagingTimeout (
    AXUIElementRef element,
    float timeoutInSeconds
);
To
AXError AXUIElementSetMessagingTimeout (
    AXUIElementRef _Nonnull element,
    float timeoutInSeconds
);

AXValue.h

Declaration
From
AXValueRef AXValueCreate (
    AXValueType theType,
    const void *valuePtr
);
To
AXValueRef _Nullable AXValueCreate (
    AXValueType theType,
    const void * _Nonnull valuePtr
);

Declaration
From
AXValueType AXValueGetType (
    AXValueRef value
);
To
AXValueType AXValueGetType (
    AXValueRef _Nonnull value
);

Declaration
From
Boolean AXValueGetValue (
    AXValueRef value,
    AXValueType theType,
    void *valuePtr
);
To
Boolean AXValueGetValue (
    AXValueRef _Nonnull value,
    AXValueType theType,
    void * _Nonnull valuePtr
);

ColorSyncDeprecated.h

Removed CMConvertRGBFloatBitmap()
Removed CMConvertXYZFloatBitmap()
Removed CMFloatBitmapMakeChunky()
Removed CMM_CheckBitmap()
Removed CMM_CheckColors()
Removed CMM_ConcatColorWorld()
Removed CMM_CreateLinkProfile()
Removed CMM_GetProperty()
Removed CMM_MatchBitmap()
Removed CMM_MatchColors()
Removed CMM_MatchFloatBitmap()
Removed CMM_ValidateProfile()
Removed CMMatchFloatBitmap()
Removed CMProfileCopyICCData()
Removed CMSetPreferredCMM()
Removed cmTextureRGBtoRGBX16
Removed cmTextureRGBtoRGBX8
Removed cmTextureRGBtoRGBXFloat32
Removed CWColorWorldGetProperty()
Removed CWColorWorldSetProperty()
Removed CWGetCMMSignature()
Removed kCMIlluminantD50
Removed kCMIlluminantD65

ColorSyncProfile.h

ColorSyncTransform.h

PDEPluginInterface.h

Removed -[NSObject panelViewDidResize]
Declaration
From
- (BOOL)initWithBundle:(NSBundle *)theBundle
To
- (BOOL)initWithBundle:(NSBundle * _Nonnull)theBundle

Declaration
From
- (PMPageFormat)pageFormat
To
- (PMPageFormat _Nullable)pageFormat

Declaration
From
- (NSString *)panelKind
To
- (NSString * _Nonnull)panelKind

Declaration
From
- (NSString *)panelName
To
- (NSString * _Nonnull)panelName

Declaration
From
- (NSView *)panelView
To
- (NSView * _Nonnull)panelView

Declaration
From
- (NSArray *)PDEPanelsForType:(NSString *)pdeType withHostInfo:(id)host
To
- (NSArray * _Nullable)PDEPanelsForType:(NSString * _Nonnull)pdeType withHostInfo:(id _Nonnull)host

Declaration
From
- (PMPrinter)PMPrinter
To
- (PMPrinter _Nonnull)PMPrinter

Declaration
From
- (ppd_file_t *)ppdFile
To
- (ppd_file_t * _Nullable)ppdFile

Declaration
From
- (void)PPDOptionKeyValueDidChange:(NSString *)option ppdChoice:(NSString *)choice
To
- (void)PPDOptionKeyValueDidChange:(NSString * _Nonnull)option ppdChoice:(NSString * _Nonnull)choice

Declaration
From
- (PMPrintSession)printSession
To
- (PMPrintSession _Nonnull)printSession

Declaration
From
- (PMPrintSettings)printSettings
To
- (PMPrintSettings _Nullable)printSettings

Declaration
From
- (BOOL)restoreValuesAndReturnError:(NSError **)error
To
- (BOOL)restoreValuesAndReturnError:(NSError * _Nullable * _Nullable)error

Declaration
From
- (BOOL)saveValuesAndReturnError:(NSError **)error
To
- (BOOL)saveValuesAndReturnError:(NSError * _Nullable * _Nullable)error

Declaration
From
- (NSDictionary *)summaryInfo
To
- (NSDictionary * _Nonnull)summaryInfo

Declaration
From
- (NSArray *)supportedPPDOptionKeys
To
- (NSArray * _Nullable)supportedPPDOptionKeys

Declaration
From
- (BOOL)willChangePPDOptionKeyValue:(NSString *)option ppdChoice:(NSString *)choice
To
- (BOOL)willChangePPDOptionKeyValue:(NSString * _Nonnull)option ppdChoice:(NSString * _Nonnull)choice

PMCore.h

Declaration
From
CGImageRef PMCGImageCreateWithEPSDataProvider (
    CGDataProviderRef epsDataProvider,
    CGImageRef epsPreview
);
To
CGImageRef _Nullable PMCGImageCreateWithEPSDataProvider (
    CGDataProviderRef _Nullable epsDataProvider,
    CGImageRef _Nonnull epsPreview
);

Declaration
From
OSStatus PMCopyAvailablePPDs (
    PMPPDDomain domain,
    CFArrayRef *ppds
);
To
OSStatus PMCopyAvailablePPDs (
    PMPPDDomain domain,
    CFArrayRef  _Nullable * _Nonnull ppds
);

Declaration
From
OSStatus PMCopyLocalizedPPD (
    CFURLRef ppd,
    CFURLRef *localizedPPD
);
To
OSStatus PMCopyLocalizedPPD (
    CFURLRef _Nonnull ppd,
    CFURLRef  _Nullable * _Nonnull localizedPPD
);

Declaration
From
OSStatus PMCopyPageFormat (
    PMPageFormat formatSrc,
    PMPageFormat formatDest
);
To
OSStatus PMCopyPageFormat (
    PMPageFormat _Nonnull formatSrc,
    PMPageFormat _Nonnull formatDest
);

Declaration
From
OSStatus PMCopyPPDData (
    CFURLRef ppd,
    CFDataRef *data
);
To
OSStatus PMCopyPPDData (
    CFURLRef _Nonnull ppd,
    CFDataRef  _Nullable * _Nonnull data
);

Declaration
From
OSStatus PMCopyPrintSettings (
    PMPrintSettings settingSrc,
    PMPrintSettings settingDest
);
To
OSStatus PMCopyPrintSettings (
    PMPrintSettings _Nonnull settingSrc,
    PMPrintSettings _Nonnull settingDest
);

Declaration
From
OSStatus PMCreateGenericPrinter (
    PMPrinter *printer
);
To
OSStatus PMCreateGenericPrinter (
    PMPrinter  _Nonnull * _Nonnull printer
);

Declaration
From
OSStatus PMCreatePageFormat (
    PMPageFormat *pageFormat
);
To
OSStatus PMCreatePageFormat (
    PMPageFormat  _Nonnull * _Nonnull pageFormat
);

Declaration
From
OSStatus PMCreatePageFormatWithPMPaper (
    PMPageFormat *pageFormat,
    PMPaper paper
);
To
OSStatus PMCreatePageFormatWithPMPaper (
    PMPageFormat  _Nonnull * _Nonnull pageFormat,
    PMPaper _Nonnull paper
);

Declaration
From
OSStatus PMCreatePrintSettings (
    PMPrintSettings *printSettings
);
To
OSStatus PMCreatePrintSettings (
    PMPrintSettings  _Nonnull * _Nonnull printSettings
);

Declaration
From
OSStatus PMCreateSession (
    PMPrintSession *printSession
);
To
OSStatus PMCreateSession (
    PMPrintSession  _Nonnull * _Nonnull printSession
);

Declaration
From
OSStatus PMGetAdjustedPageRect (
    PMPageFormat pageFormat,
    PMRect *pageRect
);
To
OSStatus PMGetAdjustedPageRect (
    PMPageFormat _Nonnull pageFormat,
    PMRect * _Nonnull pageRect
);

Declaration
From
OSStatus PMGetAdjustedPaperRect (
    PMPageFormat pageFormat,
    PMRect *paperRect
);
To
OSStatus PMGetAdjustedPaperRect (
    PMPageFormat _Nonnull pageFormat,
    PMRect * _Nonnull paperRect
);

Declaration
From
OSStatus PMGetCollate (
    PMPrintSettings printSettings,
    Boolean *collate
);
To
OSStatus PMGetCollate (
    PMPrintSettings _Nonnull printSettings,
    Boolean * _Nonnull collate
);

Modified PMGetCopies()
Declaration
From
OSStatus PMGetCopies (
    PMPrintSettings printSettings,
    UInt32 *copies
);
To
OSStatus PMGetCopies (
    PMPrintSettings _Nonnull printSettings,
    UInt32 * _Nonnull copies
);

Modified PMGetDuplex()
Declaration
From
OSStatus PMGetDuplex (
    PMPrintSettings printSettings,
    PMDuplexMode *duplexSetting
);
To
OSStatus PMGetDuplex (
    PMPrintSettings _Nonnull printSettings,
    PMDuplexMode * _Nonnull duplexSetting
);

Declaration
From
OSStatus PMGetFirstPage (
    PMPrintSettings printSettings,
    UInt32 *first
);
To
OSStatus PMGetFirstPage (
    PMPrintSettings _Nonnull printSettings,
    UInt32 * _Nonnull first
);

Declaration
From
OSStatus PMGetLastPage (
    PMPrintSettings printSettings,
    UInt32 *last
);
To
OSStatus PMGetLastPage (
    PMPrintSettings _Nonnull printSettings,
    UInt32 * _Nonnull last
);

Declaration
From
OSStatus PMGetOrientation (
    PMPageFormat pageFormat,
    PMOrientation *orientation
);
To
OSStatus PMGetOrientation (
    PMPageFormat _Nonnull pageFormat,
    PMOrientation * _Nonnull orientation
);

Declaration
From
OSStatus PMGetPageFormatExtendedData (
    PMPageFormat pageFormat,
    OSType dataID,
    UInt32 *size,
    void *extendedData
);
To
OSStatus PMGetPageFormatExtendedData (
    PMPageFormat _Nonnull pageFormat,
    OSType dataID,
    UInt32 * _Nullable size,
    void * _Nullable extendedData
);

Declaration
From
OSStatus PMGetPageFormatPaper (
    PMPageFormat format,
    PMPaper *paper
);
To
OSStatus PMGetPageFormatPaper (
    PMPageFormat _Nonnull format,
    PMPaper  _Nonnull * _Nonnull paper
);

Declaration
From
OSStatus PMGetPageRange (
    PMPrintSettings printSettings,
    UInt32 *minPage,
    UInt32 *maxPage
);
To
OSStatus PMGetPageRange (
    PMPrintSettings _Nonnull printSettings,
    UInt32 * _Nonnull minPage,
    UInt32 * _Nonnull maxPage
);

Modified PMGetScale()
Declaration
From
OSStatus PMGetScale (
    PMPageFormat pageFormat,
    double *scale
);
To
OSStatus PMGetScale (
    PMPageFormat _Nonnull pageFormat,
    double * _Nonnull scale
);

Declaration
From
OSStatus PMGetUnadjustedPageRect (
    PMPageFormat pageFormat,
    PMRect *pageRect
);
To
OSStatus PMGetUnadjustedPageRect (
    PMPageFormat _Nonnull pageFormat,
    PMRect * _Nonnull pageRect
);

Declaration
From
OSStatus PMGetUnadjustedPaperRect (
    PMPageFormat pageFormat,
    PMRect *paperRect
);
To
OSStatus PMGetUnadjustedPaperRect (
    PMPageFormat _Nonnull pageFormat,
    PMRect * _Nonnull paperRect
);

Declaration
From
OSStatus PMPageFormatCreateDataRepresentation (
    PMPageFormat pageFormat,
    CFDataRef *data,
    PMDataFormat format
);
To
OSStatus PMPageFormatCreateDataRepresentation (
    PMPageFormat _Nonnull pageFormat,
    CFDataRef  _Nonnull * _Nonnull data,
    PMDataFormat format
);

Declaration
From
OSStatus PMPageFormatCreateWithDataRepresentation (
    CFDataRef data,
    PMPageFormat *pageFormat
);
To
OSStatus PMPageFormatCreateWithDataRepresentation (
    CFDataRef _Nonnull data,
    PMPageFormat  _Nonnull * _Nonnull pageFormat
);

Declaration
From
OSStatus PMPageFormatGetPrinterID (
    PMPageFormat pageFormat,
    CFStringRef *printerID
);
To
OSStatus PMPageFormatGetPrinterID (
    PMPageFormat _Nonnull pageFormat,
    CFStringRef  _Nullable * _Nonnull printerID
);

Declaration
From
OSStatus PMPaperCreateCustom (
    PMPrinter printer,
    CFStringRef id,
    CFStringRef name,
    double width,
    double height,
    const PMPaperMargins *margins,
    PMPaper *paperP
);
To
OSStatus PMPaperCreateCustom (
    PMPrinter _Nullable printer,
    CFStringRef _Nullable id,
    CFStringRef _Nullable name,
    double width,
    double height,
    const PMPaperMargins * _Nonnull margins,
    PMPaper  _Nullable * _Nonnull paperP
);

Declaration
From
OSStatus PMPaperCreateLocalizedName (
    PMPaper paper,
    PMPrinter printer,
    CFStringRef *paperName
);
To
OSStatus PMPaperCreateLocalizedName (
    PMPaper _Nonnull paper,
    PMPrinter _Nonnull printer,
    CFStringRef  _Nullable * _Nonnull paperName
);

Declaration
From
OSStatus PMPaperGetHeight (
    PMPaper paper,
    double *paperHeight
);
To
OSStatus PMPaperGetHeight (
    PMPaper _Nonnull paper,
    double * _Nonnull paperHeight
);

Declaration
From
OSStatus PMPaperGetID (
    PMPaper paper,
    CFStringRef *paperID
);
To
OSStatus PMPaperGetID (
    PMPaper _Nonnull paper,
    CFStringRef  _Nonnull * _Nonnull paperID
);

Declaration
From
OSStatus PMPaperGetMargins (
    PMPaper paper,
    PMPaperMargins *paperMargins
);
To
OSStatus PMPaperGetMargins (
    PMPaper _Nonnull paper,
    PMPaperMargins * _Nonnull paperMargins
);

Declaration
From
OSStatus PMPaperGetPPDPaperName (
    PMPaper paper,
    CFStringRef *paperName
);
To
OSStatus PMPaperGetPPDPaperName (
    PMPaper _Nonnull paper,
    CFStringRef  _Nullable * _Nonnull paperName
);

Declaration
From
OSStatus PMPaperGetPrinterID (
    PMPaper paper,
    CFStringRef *printerID
);
To
OSStatus PMPaperGetPrinterID (
    PMPaper _Nonnull paper,
    CFStringRef  _Nullable * _Nonnull printerID
);

Declaration
From
OSStatus PMPaperGetWidth (
    PMPaper paper,
    double *paperWidth
);
To
OSStatus PMPaperGetWidth (
    PMPaper _Nonnull paper,
    double * _Nonnull paperWidth
);

Declaration
From
Boolean PMPaperIsCustom (
    PMPaper paper
);
To
Boolean PMPaperIsCustom (
    PMPaper _Nonnull paper
);

Declaration
From
OSStatus PMPresetCopyName (
    PMPreset preset,
    CFStringRef *name
);
To
OSStatus PMPresetCopyName (
    PMPreset _Nonnull preset,
    CFStringRef  _Nullable * _Nonnull name
);

Declaration
From
OSStatus PMPresetCreatePrintSettings (
    PMPreset preset,
    PMPrintSession session,
    PMPrintSettings *printSettings
);
To
OSStatus PMPresetCreatePrintSettings (
    PMPreset _Nonnull preset,
    PMPrintSession _Nonnull session,
    PMPrintSettings  _Nonnull * _Nonnull printSettings
);

Declaration
From
OSStatus PMPresetGetAttributes (
    PMPreset preset,
    CFDictionaryRef *attributes
);
To
OSStatus PMPresetGetAttributes (
    PMPreset _Nonnull preset,
    CFDictionaryRef  _Nullable * _Nonnull attributes
);

Declaration
From
OSStatus PMPrinterCopyDescriptionURL (
    PMPrinter printer,
    CFStringRef descriptionType,
    CFURLRef *fileURL
);
To
OSStatus PMPrinterCopyDescriptionURL (
    PMPrinter _Nonnull printer,
    CFStringRef _Nonnull descriptionType,
    CFURLRef  _Nullable * _Nonnull fileURL
);

Declaration
From
OSStatus PMPrinterCopyDeviceURI (
    PMPrinter printer,
    CFURLRef *deviceURI
);
To
OSStatus PMPrinterCopyDeviceURI (
    PMPrinter _Nonnull printer,
    CFURLRef  _Nullable * _Nonnull deviceURI
);

Declaration
From
OSStatus PMPrinterCopyHostName (
    PMPrinter printer,
    CFStringRef *hostNameP
);
To
OSStatus PMPrinterCopyHostName (
    PMPrinter _Nonnull printer,
    CFStringRef  _Nonnull * _Nonnull hostNameP
);

Declaration
From
OSStatus PMPrinterCopyPresets (
    PMPrinter printer,
    CFArrayRef *presetList
);
To
OSStatus PMPrinterCopyPresets (
    PMPrinter _Nonnull printer,
    CFArrayRef  _Nullable * _Nonnull presetList
);

Declaration
From
OSStatus PMPrinterCopyState (
    PMPrinter printer,
    CFDictionaryRef *stateDict
);
To
OSStatus PMPrinterCopyState (
    PMPrinter _Nonnull printer,
    CFDictionaryRef  _Nonnull * _Nonnull stateDict
);

Declaration
From
PMPrinter PMPrinterCreateFromPrinterID (
    CFStringRef printerID
);
To
PMPrinter _Nullable PMPrinterCreateFromPrinterID (
    CFStringRef _Nonnull printerID
);

Declaration
From
OSStatus PMPrinterGetCommInfo (
    PMPrinter printer,
    Boolean *supportsControlCharRangeP,
    Boolean *supportsEightBitP
);
To
OSStatus PMPrinterGetCommInfo (
    PMPrinter _Nonnull printer,
    Boolean * _Nullable supportsControlCharRangeP,
    Boolean * _Nullable supportsEightBitP
);

Declaration
From
OSStatus PMPrinterGetDriverCreator (
    PMPrinter printer,
    OSType *creator
);
To
OSStatus PMPrinterGetDriverCreator (
    PMPrinter _Nonnull printer,
    OSType * _Nonnull creator
);

Declaration
From
OSStatus PMPrinterGetDriverReleaseInfo (
    PMPrinter printer,
    VersRec *release
);
To
OSStatus PMPrinterGetDriverReleaseInfo (
    PMPrinter _Nonnull printer,
    VersRec * _Nonnull release
);

Declaration
From
CFStringRef PMPrinterGetID (
    PMPrinter printer
);
To
CFStringRef _Nullable PMPrinterGetID (
    PMPrinter _Nonnull printer
);

Declaration
From
OSStatus PMPrinterGetIndexedPrinterResolution (
    PMPrinter printer,
    UInt32 index,
    PMResolution *resolutionP
);
To
OSStatus PMPrinterGetIndexedPrinterResolution (
    PMPrinter _Nonnull printer,
    UInt32 index,
    PMResolution * _Nonnull resolutionP
);

Declaration
From
OSStatus PMPrinterGetLanguageInfo (
    PMPrinter printer,
    PMLanguageInfo *info
);
To
OSStatus PMPrinterGetLanguageInfo (
    PMPrinter _Nonnull printer,
    PMLanguageInfo * _Nonnull info
);

Declaration
From
CFStringRef PMPrinterGetLocation (
    PMPrinter printer
);
To
CFStringRef _Nullable PMPrinterGetLocation (
    PMPrinter _Nonnull printer
);

Declaration
From
OSStatus PMPrinterGetMakeAndModelName (
    PMPrinter printer,
    CFStringRef *makeAndModel
);
To
OSStatus PMPrinterGetMakeAndModelName (
    PMPrinter _Nonnull printer,
    CFStringRef  _Nullable * _Nonnull makeAndModel
);

Declaration
From
OSStatus PMPrinterGetMimeTypes (
    PMPrinter printer,
    PMPrintSettings settings,
    CFArrayRef *mimeTypes
);
To
OSStatus PMPrinterGetMimeTypes (
    PMPrinter _Nonnull printer,
    PMPrintSettings _Nullable settings,
    CFArrayRef  _Nullable * _Nonnull mimeTypes
);

Declaration
From
CFStringRef PMPrinterGetName (
    PMPrinter printer
);
To
CFStringRef _Nullable PMPrinterGetName (
    PMPrinter _Nonnull printer
);

Declaration
From
OSStatus PMPrinterGetOutputResolution (
    PMPrinter printer,
    PMPrintSettings printSettings,
    PMResolution *resolutionP
);
To
OSStatus PMPrinterGetOutputResolution (
    PMPrinter _Nonnull printer,
    PMPrintSettings _Nonnull printSettings,
    PMResolution * _Nonnull resolutionP
);

Declaration
From
OSStatus PMPrinterGetPaperList (
    PMPrinter printer,
    CFArrayRef *paperList
);
To
OSStatus PMPrinterGetPaperList (
    PMPrinter _Nonnull printer,
    CFArrayRef  _Nullable * _Nonnull paperList
);

Declaration
From
OSStatus PMPrinterGetPrinterResolutionCount (
    PMPrinter printer,
    UInt32 *countP
);
To
OSStatus PMPrinterGetPrinterResolutionCount (
    PMPrinter _Nonnull printer,
    UInt32 * _Nonnull countP
);

Declaration
From
OSStatus PMPrinterGetState (
    PMPrinter printer,
    PMPrinterState *state
);
To
OSStatus PMPrinterGetState (
    PMPrinter _Nonnull printer,
    PMPrinterState * _Nonnull state
);

Declaration
From
Boolean PMPrinterIsDefault (
    PMPrinter printer
);
To
Boolean PMPrinterIsDefault (
    PMPrinter _Nonnull printer
);

Declaration
From
Boolean PMPrinterIsFavorite (
    PMPrinter printer
);
To
Boolean PMPrinterIsFavorite (
    PMPrinter _Nonnull printer
);

Declaration
From
Boolean PMPrinterIsPostScriptCapable (
    PMPrinter printer
);
To
Boolean PMPrinterIsPostScriptCapable (
    PMPrinter _Nonnull printer
);

Declaration
From
OSStatus PMPrinterIsPostScriptPrinter (
    PMPrinter printer,
    Boolean *isPSPrinter
);
To
OSStatus PMPrinterIsPostScriptPrinter (
    PMPrinter _Nonnull printer,
    Boolean * _Nonnull isPSPrinter
);

Declaration
From
OSStatus PMPrinterIsRemote (
    PMPrinter printer,
    Boolean *isRemoteP
);
To
OSStatus PMPrinterIsRemote (
    PMPrinter _Nonnull printer,
    Boolean * _Nonnull isRemoteP
);

Declaration
From
OSStatus PMPrinterPrintWithFile (
    PMPrinter printer,
    PMPrintSettings settings,
    PMPageFormat format,
    CFStringRef mimeType,
    CFURLRef fileURL
);
To
OSStatus PMPrinterPrintWithFile (
    PMPrinter _Nonnull printer,
    PMPrintSettings _Nonnull settings,
    PMPageFormat _Nullable format,
    CFStringRef _Nullable mimeType,
    CFURLRef _Nonnull fileURL
);

Declaration
From
OSStatus PMPrinterPrintWithProvider (
    PMPrinter printer,
    PMPrintSettings settings,
    PMPageFormat format,
    CFStringRef mimeType,
    CGDataProviderRef provider
);
To
OSStatus PMPrinterPrintWithProvider (
    PMPrinter _Nonnull printer,
    PMPrintSettings _Nonnull settings,
    PMPageFormat _Nullable format,
    CFStringRef _Nonnull mimeType,
    CGDataProviderRef _Nonnull provider
);

Declaration
From
OSStatus PMPrinterSendCommand (
    PMPrinter printer,
    CFStringRef commandString,
    CFStringRef jobTitle,
    CFDictionaryRef options
);
To
OSStatus PMPrinterSendCommand (
    PMPrinter _Nonnull printer,
    CFStringRef _Nonnull commandString,
    CFStringRef _Nullable jobTitle,
    CFDictionaryRef _Nullable options
);

Declaration
From
OSStatus PMPrinterSetDefault (
    PMPrinter printer
);
To
OSStatus PMPrinterSetDefault (
    PMPrinter _Nonnull printer
);

Declaration
From
OSStatus PMPrinterSetOutputResolution (
    PMPrinter printer,
    PMPrintSettings printSettings,
    const PMResolution *resolutionP
);
To
OSStatus PMPrinterSetOutputResolution (
    PMPrinter _Nonnull printer,
    PMPrintSettings _Nonnull printSettings,
    const PMResolution * _Nonnull resolutionP
);

Declaration
From
OSStatus PMPrinterWritePostScriptToURL (
    PMPrinter printer,
    PMPrintSettings settings,
    PMPageFormat format,
    CFStringRef mimeType,
    CFURLRef sourceFileURL,
    CFURLRef destinationFileURL
);
To
OSStatus PMPrinterWritePostScriptToURL (
    PMPrinter _Nonnull printer,
    PMPrintSettings _Nonnull settings,
    PMPageFormat _Nullable format,
    CFStringRef _Nullable mimeType,
    CFURLRef _Nonnull sourceFileURL,
    CFURLRef _Nonnull destinationFileURL
);

Declaration
From
OSStatus PMPrintSettingsCopyAsDictionary (
    PMPrintSettings printSettings,
    CFDictionaryRef *settingsDictionary
);
To
OSStatus PMPrintSettingsCopyAsDictionary (
    PMPrintSettings _Nonnull printSettings,
    CFDictionaryRef  _Nullable * _Nonnull settingsDictionary
);

Declaration
From
OSStatus PMPrintSettingsCopyKeys (
    PMPrintSettings printSettings,
    CFArrayRef *settingsKeys
);
To
OSStatus PMPrintSettingsCopyKeys (
    PMPrintSettings _Nonnull printSettings,
    CFArrayRef  _Nullable * _Nonnull settingsKeys
);

Declaration
From
OSStatus PMPrintSettingsCreateDataRepresentation (
    PMPrintSettings printSettings,
    CFDataRef *data,
    PMDataFormat format
);
To
OSStatus PMPrintSettingsCreateDataRepresentation (
    PMPrintSettings _Nonnull printSettings,
    CFDataRef  _Nonnull * _Nonnull data,
    PMDataFormat format
);

Declaration
From
OSStatus PMPrintSettingsCreateWithDataRepresentation (
    CFDataRef data,
    PMPrintSettings *printSettings
);
To
OSStatus PMPrintSettingsCreateWithDataRepresentation (
    CFDataRef _Nonnull data,
    PMPrintSettings  _Nonnull * _Nonnull printSettings
);

Declaration
From
OSStatus PMPrintSettingsGetJobName (
    PMPrintSettings printSettings,
    CFStringRef *name
);
To
OSStatus PMPrintSettingsGetJobName (
    PMPrintSettings _Nonnull printSettings,
    CFStringRef  _Nullable * _Nonnull name
);

Declaration
From
OSStatus PMPrintSettingsGetValue (
    PMPrintSettings printSettings,
    CFStringRef key,
    CFTypeRef *value
);
To
OSStatus PMPrintSettingsGetValue (
    PMPrintSettings _Nonnull printSettings,
    CFStringRef _Nonnull key,
    CFTypeRef  _Nullable * _Nonnull value
);

Declaration
From
OSStatus PMPrintSettingsSetJobName (
    PMPrintSettings printSettings,
    CFStringRef name
);
To
OSStatus PMPrintSettingsSetJobName (
    PMPrintSettings _Nonnull printSettings,
    CFStringRef _Nonnull name
);

Declaration
From
OSStatus PMPrintSettingsSetValue (
    PMPrintSettings printSettings,
    CFStringRef key,
    CFTypeRef value,
    Boolean locked
);
To
OSStatus PMPrintSettingsSetValue (
    PMPrintSettings _Nonnull printSettings,
    CFStringRef _Nonnull key,
    CFTypeRef _Nullable value,
    Boolean locked
);

Declaration
From
OSStatus PMPrintSettingsToOptions (
    PMPrintSettings settings,
    char **options
);
To
OSStatus PMPrintSettingsToOptions (
    PMPrintSettings _Nonnull settings,
    char * _Nullable * _Nonnull options
);

Declaration
From
OSStatus PMPrintSettingsToOptionsWithPrinterAndPageFormat (
    PMPrintSettings settings,
    PMPrinter printer,
    PMPageFormat pageFormat,
    char **options
);
To
OSStatus PMPrintSettingsToOptionsWithPrinterAndPageFormat (
    PMPrintSettings _Nonnull settings,
    PMPrinter _Nonnull printer,
    PMPageFormat _Nullable pageFormat,
    char * _Nullable * _Nonnull options
);

Modified PMRelease()
Declaration
From
OSStatus PMRelease (
    PMObject object
);
To
OSStatus PMRelease (
    PMObject _Nullable object
);

Modified PMRetain()
Declaration
From
OSStatus PMRetain (
    PMObject object
);
To
OSStatus PMRetain (
    PMObject _Nullable object
);

Declaration
From
OSStatus PMServerCreatePrinterList (
    PMServer server,
    CFArrayRef *printerList
);
To
OSStatus PMServerCreatePrinterList (
    PMServer _Nullable server,
    CFArrayRef  _Nullable * _Nonnull printerList
);

Declaration
From
OSStatus PMServerLaunchPrinterBrowser (
    PMServer server,
    CFDictionaryRef options
);
To
OSStatus PMServerLaunchPrinterBrowser (
    PMServer _Nullable server,
    CFDictionaryRef _Nullable options
);

Declaration
From
OSStatus PMSessionBeginCGDocumentNoDialog (
    PMPrintSession printSession,
    PMPrintSettings printSettings,
    PMPageFormat pageFormat
);
To
OSStatus PMSessionBeginCGDocumentNoDialog (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings,
    PMPageFormat _Nonnull pageFormat
);

Declaration
From
OSStatus PMSessionBeginPageNoDialog (
    PMPrintSession printSession,
    PMPageFormat pageFormat,
    const PMRect *pageFrame
);
To
OSStatus PMSessionBeginPageNoDialog (
    PMPrintSession _Nonnull printSession,
    PMPageFormat _Nullable pageFormat,
    const PMRect * _Nullable pageFrame
);

Declaration
From
OSStatus PMSessionCopyDestinationFormat (
    PMPrintSession printSession,
    PMPrintSettings printSettings,
    CFStringRef *destFormatP
);
To
OSStatus PMSessionCopyDestinationFormat (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings,
    CFStringRef  _Nullable * _Nonnull destFormatP
);

Declaration
From
OSStatus PMSessionCopyDestinationLocation (
    PMPrintSession printSession,
    PMPrintSettings printSettings,
    CFURLRef *destLocationP
);
To
OSStatus PMSessionCopyDestinationLocation (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings,
    CFURLRef  _Nullable * _Nonnull destLocationP
);

Declaration
From
OSStatus PMSessionCopyOutputFormatList (
    PMPrintSession printSession,
    PMDestinationType destType,
    CFArrayRef *documentFormatP
);
To
OSStatus PMSessionCopyOutputFormatList (
    PMPrintSession _Nonnull printSession,
    PMDestinationType destType,
    CFArrayRef  _Nullable * _Nonnull documentFormatP
);

Declaration
From
OSStatus PMSessionCreatePageFormatList (
    PMPrintSession printSession,
    PMPrinter printer,
    CFArrayRef *pageFormatList
);
To
OSStatus PMSessionCreatePageFormatList (
    PMPrintSession _Nonnull printSession,
    PMPrinter _Nullable printer,
    CFArrayRef  _Nullable * _Nonnull pageFormatList
);

Declaration
From
OSStatus PMSessionCreatePrinterList (
    PMPrintSession printSession,
    CFArrayRef *printerList,
    CFIndex *currentIndex,
    PMPrinter *currentPrinter
);
To
OSStatus PMSessionCreatePrinterList (
    PMPrintSession _Nonnull printSession,
    CFArrayRef  _Nonnull * _Nonnull printerList,
    CFIndex * _Nullable currentIndex,
    PMPrinter  _Nonnull * _Nullable currentPrinter
);

Declaration
From
OSStatus PMSessionDefaultPageFormat (
    PMPrintSession printSession,
    PMPageFormat pageFormat
);
To
OSStatus PMSessionDefaultPageFormat (
    PMPrintSession _Nonnull printSession,
    PMPageFormat _Nonnull pageFormat
);

Declaration
From
OSStatus PMSessionDefaultPrintSettings (
    PMPrintSession printSession,
    PMPrintSettings printSettings
);
To
OSStatus PMSessionDefaultPrintSettings (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings
);

Declaration
From
OSStatus PMSessionEndDocumentNoDialog (
    PMPrintSession printSession
);
To
OSStatus PMSessionEndDocumentNoDialog (
    PMPrintSession _Nonnull printSession
);

Declaration
From
OSStatus PMSessionEndPageNoDialog (
    PMPrintSession printSession
);
To
OSStatus PMSessionEndPageNoDialog (
    PMPrintSession _Nonnull printSession
);

Declaration
From
OSStatus PMSessionError (
    PMPrintSession printSession
);
To
OSStatus PMSessionError (
    PMPrintSession _Nonnull printSession
);

Declaration
From
OSStatus PMSessionGetCGGraphicsContext (
    PMPrintSession printSession,
    CGContextRef *context
);
To
OSStatus PMSessionGetCGGraphicsContext (
    PMPrintSession _Nonnull printSession,
    CGContextRef  _Nullable * _Nonnull context
);

Declaration
From
OSStatus PMSessionGetCurrentPrinter (
    PMPrintSession printSession,
    PMPrinter *currentPrinter
);
To
OSStatus PMSessionGetCurrentPrinter (
    PMPrintSession _Nonnull printSession,
    PMPrinter  _Nonnull * _Nonnull currentPrinter
);

Declaration
From
OSStatus PMSessionGetDataFromSession (
    PMPrintSession printSession,
    CFStringRef key,
    CFTypeRef *data
);
To
OSStatus PMSessionGetDataFromSession (
    PMPrintSession _Nonnull printSession,
    CFStringRef _Nonnull key,
    CFTypeRef  _Nullable * _Nonnull data
);

Declaration
From
OSStatus PMSessionGetDestinationType (
    PMPrintSession printSession,
    PMPrintSettings printSettings,
    PMDestinationType *destTypeP
);
To
OSStatus PMSessionGetDestinationType (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings,
    PMDestinationType * _Nonnull destTypeP
);

Declaration
From
OSStatus PMSessionSetCurrentPMPrinter (
    PMPrintSession session,
    PMPrinter printer
);
To
OSStatus PMSessionSetCurrentPMPrinter (
    PMPrintSession _Nonnull session,
    PMPrinter _Nonnull printer
);

Declaration
From
OSStatus PMSessionSetDataInSession (
    PMPrintSession printSession,
    CFStringRef key,
    CFTypeRef data
);
To
OSStatus PMSessionSetDataInSession (
    PMPrintSession _Nonnull printSession,
    CFStringRef _Nonnull key,
    CFTypeRef _Nonnull data
);

Declaration
From
OSStatus PMSessionSetDestination (
    PMPrintSession printSession,
    PMPrintSettings printSettings,
    PMDestinationType destType,
    CFStringRef destFormat,
    CFURLRef destLocation
);
To
OSStatus PMSessionSetDestination (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings,
    PMDestinationType destType,
    CFStringRef _Nullable destFormat,
    CFURLRef _Nullable destLocation
);

Declaration
From
OSStatus PMSessionSetError (
    PMPrintSession printSession,
    OSStatus printError
);
To
OSStatus PMSessionSetError (
    PMPrintSession _Nonnull printSession,
    OSStatus printError
);

Declaration
From
OSStatus PMSessionValidatePageFormat (
    PMPrintSession printSession,
    PMPageFormat pageFormat,
    Boolean *result
);
To
OSStatus PMSessionValidatePageFormat (
    PMPrintSession _Nonnull printSession,
    PMPageFormat _Nonnull pageFormat,
    Boolean * _Nullable changed
);

Declaration
From
OSStatus PMSessionValidatePrintSettings (
    PMPrintSession printSession,
    PMPrintSettings printSettings,
    Boolean *result
);
To
OSStatus PMSessionValidatePrintSettings (
    PMPrintSession _Nonnull printSession,
    PMPrintSettings _Nonnull printSettings,
    Boolean * _Nullable changed
);

Declaration
From
OSStatus PMSetCollate (
    PMPrintSettings printSettings,
    Boolean collate
);
To
OSStatus PMSetCollate (
    PMPrintSettings _Nonnull printSettings,
    Boolean collate
);

Modified PMSetCopies()
Declaration
From
OSStatus PMSetCopies (
    PMPrintSettings printSettings,
    UInt32 copies,
    Boolean lock
);
To
OSStatus PMSetCopies (
    PMPrintSettings _Nonnull printSettings,
    UInt32 copies,
    Boolean lock
);

Modified PMSetDuplex()
Declaration
From
OSStatus PMSetDuplex (
    PMPrintSettings printSettings,
    PMDuplexMode duplexSetting
);
To
OSStatus PMSetDuplex (
    PMPrintSettings _Nonnull printSettings,
    PMDuplexMode duplexSetting
);

Declaration
From
OSStatus PMSetFirstPage (
    PMPrintSettings printSettings,
    UInt32 first,
    Boolean lock
);
To
OSStatus PMSetFirstPage (
    PMPrintSettings _Nonnull printSettings,
    UInt32 first,
    Boolean lock
);

Declaration
From
OSStatus PMSetLastPage (
    PMPrintSettings printSettings,
    UInt32 last,
    Boolean lock
);
To
OSStatus PMSetLastPage (
    PMPrintSettings _Nonnull printSettings,
    UInt32 last,
    Boolean lock
);

Declaration
From
OSStatus PMSetOrientation (
    PMPageFormat pageFormat,
    PMOrientation orientation,
    Boolean lock
);
To
OSStatus PMSetOrientation (
    PMPageFormat _Nonnull pageFormat,
    PMOrientation orientation,
    Boolean lock
);

Declaration
From
OSStatus PMSetPageFormatExtendedData (
    PMPageFormat pageFormat,
    OSType dataID,
    UInt32 size,
    void *extendedData
);
To
OSStatus PMSetPageFormatExtendedData (
    PMPageFormat _Nonnull pageFormat,
    OSType dataID,
    UInt32 size,
    void * _Nonnull extendedData
);

Declaration
From
OSStatus PMSetPageRange (
    PMPrintSettings printSettings,
    UInt32 minPage,
    UInt32 maxPage
);
To
OSStatus PMSetPageRange (
    PMPrintSettings _Nonnull printSettings,
    UInt32 minPage,
    UInt32 maxPage
);

Modified PMSetScale()
Declaration
From
OSStatus PMSetScale (
    PMPageFormat pageFormat,
    double scale
);
To
OSStatus PMSetScale (
    PMPageFormat _Nonnull pageFormat,
    double scale
);

Declaration
From
OSStatus PMWorkflowCopyItems (
    CFArrayRef *workflowItems
);
To
OSStatus PMWorkflowCopyItems (
    CFArrayRef  _Nullable * _Nonnull workflowItems
);

Declaration
From
OSStatus PMWorkflowSubmitPDFWithOptions (
    CFURLRef workflowItem,
    CFStringRef title,
    const char *options,
    CFURLRef pdfFile
);
To
OSStatus PMWorkflowSubmitPDFWithOptions (
    CFURLRef _Nonnull workflowItem,
    CFStringRef _Nullable title,
    const char * _Nullable options,
    CFURLRef _Nonnull pdfFile
);

Declaration
From
OSStatus PMWorkflowSubmitPDFWithSettings (
    CFURLRef workflowItem,
    PMPrintSettings settings,
    CFURLRef pdfFile
);
To
OSStatus PMWorkflowSubmitPDFWithSettings (
    CFURLRef _Nonnull workflowItem,
    PMPrintSettings _Nonnull settings,
    CFURLRef _Nonnull pdfFile
);

Quickdraw.h

Removed DisposeColorComplementUPP()
Removed #def DisposeColorComplementUPP
Removed DisposeColorSearchUPP()
Removed #def DisposeColorSearchUPP
Removed DisposeDragGrayRgnUPP()
Removed #def DisposeDragGrayRgnUPP
Removed DisposeQDArcUPP()
Removed #def DisposeQDArcUPP
Removed DisposeQDBitsUPP()
Removed #def DisposeQDBitsUPP
Removed DisposeQDCommentUPP()
Removed #def DisposeQDCommentUPP
Removed DisposeQDGetPicUPP()
Removed #def DisposeQDGetPicUPP
Removed DisposeQDJShieldCursorUPP()
Removed #def DisposeQDJShieldCursorUPP
Removed DisposeQDLineUPP()
Removed #def DisposeQDLineUPP
Removed DisposeQDOpcodeUPP()
Removed #def DisposeQDOpcodeUPP
Removed DisposeQDOvalUPP()
Removed #def DisposeQDOvalUPP
Removed DisposeQDPolyUPP()
Removed #def DisposeQDPolyUPP
Removed DisposeQDPrinterStatusUPP()
Removed #def DisposeQDPrinterStatusUPP
Removed DisposeQDPutPicUPP()
Removed #def DisposeQDPutPicUPP
Removed DisposeQDRectUPP()
Removed #def DisposeQDRectUPP
Removed DisposeQDRgnUPP()
Removed #def DisposeQDRgnUPP
Removed DisposeQDRRectUPP()
Removed #def DisposeQDRRectUPP
Removed DisposeQDStdGlyphsUPP()
Removed #def DisposeQDStdGlyphsUPP
Removed DisposeQDTextUPP()
Removed #def DisposeQDTextUPP
Removed DisposeQDTxMeasUPP()
Removed #def DisposeQDTxMeasUPP
Removed DisposeRegionToRectsUPP()
Removed #def DisposeRegionToRectsUPP
Removed InvokeColorComplementUPP()
Removed #def InvokeColorComplementUPP
Removed InvokeColorSearchUPP()
Removed #def InvokeColorSearchUPP
Removed InvokeDragGrayRgnUPP()
Removed #def InvokeDragGrayRgnUPP
Removed InvokeQDArcUPP()
Removed #def InvokeQDArcUPP
Removed InvokeQDBitsUPP()
Removed #def InvokeQDBitsUPP
Removed InvokeQDCommentUPP()
Removed #def InvokeQDCommentUPP
Removed InvokeQDGetPicUPP()
Removed #def InvokeQDGetPicUPP
Removed InvokeQDJShieldCursorUPP()
Removed #def InvokeQDJShieldCursorUPP
Removed InvokeQDLineUPP()
Removed #def InvokeQDLineUPP
Removed InvokeQDOpcodeUPP()
Removed #def InvokeQDOpcodeUPP
Removed InvokeQDOvalUPP()
Removed #def InvokeQDOvalUPP
Removed InvokeQDPolyUPP()
Removed #def InvokeQDPolyUPP
Removed InvokeQDPrinterStatusUPP()
Removed #def InvokeQDPrinterStatusUPP
Removed InvokeQDPutPicUPP()
Removed #def InvokeQDPutPicUPP
Removed InvokeQDRectUPP()
Removed #def InvokeQDRectUPP
Removed InvokeQDRgnUPP()
Removed #def InvokeQDRgnUPP
Removed InvokeQDRRectUPP()
Removed #def InvokeQDRRectUPP
Removed InvokeQDStdGlyphsUPP()
Removed #def InvokeQDStdGlyphsUPP
Removed InvokeQDTextUPP()
Removed #def InvokeQDTextUPP
Removed InvokeQDTxMeasUPP()
Removed #def InvokeQDTxMeasUPP
Removed InvokeRegionToRectsUPP()
Removed #def InvokeRegionToRectsUPP
Removed NewColorComplementUPP()
Removed #def NewColorComplementUPP
Removed NewColorSearchUPP()
Removed #def NewColorSearchUPP
Removed NewDragGrayRgnUPP()
Removed #def NewDragGrayRgnUPP
Removed NewQDArcUPP()
Removed #def NewQDArcUPP
Removed NewQDBitsUPP()
Removed #def NewQDBitsUPP
Removed NewQDCommentUPP()
Removed #def NewQDCommentUPP
Removed NewQDGetPicUPP()
Removed #def NewQDGetPicUPP
Removed NewQDJShieldCursorUPP()
Removed #def NewQDJShieldCursorUPP
Removed NewQDLineUPP()
Removed #def NewQDLineUPP
Removed NewQDOpcodeUPP()
Removed #def NewQDOpcodeUPP
Removed NewQDOvalUPP()
Removed #def NewQDOvalUPP
Removed NewQDPolyUPP()
Removed #def NewQDPolyUPP
Removed NewQDPrinterStatusUPP()
Removed #def NewQDPrinterStatusUPP
Removed NewQDPutPicUPP()
Removed #def NewQDPutPicUPP
Removed NewQDRectUPP()
Removed #def NewQDRectUPP
Removed NewQDRgnUPP()
Removed #def NewQDRgnUPP
Removed NewQDRRectUPP()
Removed #def NewQDRRectUPP
Removed NewQDStdGlyphsUPP()
Removed #def NewQDStdGlyphsUPP
Removed NewQDTextUPP()
Removed #def NewQDTextUPP
Removed NewQDTxMeasUPP()
Removed #def NewQDTxMeasUPP
Removed NewRegionToRectsUPP()
Removed #def NewRegionToRectsUPP
Removed QDBeginCGContext()
Removed QDEndCGContext()

SpeechSynthesis.h

Declaration
From
OSErr ContinueSpeech (
    SpeechChannel chan
);
To
OSErr ContinueSpeech (
    SpeechChannel _Nonnull chan
);

Declaration
From
OSErr CopyPhonemesFromText (
    SpeechChannel chan,
    CFStringRef text,
    CFStringRef *phonemes
);
To
OSErr CopyPhonemesFromText (
    SpeechChannel _Nonnull chan,
    CFStringRef _Nonnull text,
    CFStringRef  _Nullable * _Nonnull phonemes
);

Declaration
From
OSErr CopySpeechProperty (
    SpeechChannel chan,
    CFStringRef property,
    CFTypeRef *object
);
To
OSErr CopySpeechProperty (
    SpeechChannel _Nonnull chan,
    CFStringRef _Nonnull property,
    CFTypeRef  _Nullable * _Nonnull object
);

Modified CountVoices()
Declaration
From
OSErr CountVoices (
    SInt16 *numVoices
);
To
OSErr CountVoices (
    SInt16 * _Nonnull numVoices
);

Declaration
From
OSErr DisposeSpeechChannel (
    SpeechChannel chan
);
To
OSErr DisposeSpeechChannel (
    SpeechChannel _Nonnull chan
);

Declaration
From
void DisposeSpeechDoneUPP (
    SpeechDoneUPP userUPP
);
To
void DisposeSpeechDoneUPP (
    SpeechDoneUPP _Nonnull userUPP
);

Declaration
From
void DisposeSpeechErrorUPP (
    SpeechErrorUPP userUPP
);
To
void DisposeSpeechErrorUPP (
    SpeechErrorUPP _Nonnull userUPP
);

Declaration
From
void DisposeSpeechPhonemeUPP (
    SpeechPhonemeUPP userUPP
);
To
void DisposeSpeechPhonemeUPP (
    SpeechPhonemeUPP _Nonnull userUPP
);

Declaration
From
void DisposeSpeechSyncUPP (
    SpeechSyncUPP userUPP
);
To
void DisposeSpeechSyncUPP (
    SpeechSyncUPP _Nonnull userUPP
);

Declaration
From
void DisposeSpeechTextDoneUPP (
    SpeechTextDoneUPP userUPP
);
To
void DisposeSpeechTextDoneUPP (
    SpeechTextDoneUPP _Nonnull userUPP
);

Declaration
From
void DisposeSpeechWordUPP (
    SpeechWordUPP userUPP
);
To
void DisposeSpeechWordUPP (
    SpeechWordUPP _Nonnull userUPP
);

Modified GetIndVoice()
Declaration
From
OSErr GetIndVoice (
    SInt16 index,
    VoiceSpec *voice
);
To
OSErr GetIndVoice (
    SInt16 index,
    VoiceSpec * _Nonnull voice
);

Declaration
From
OSErr GetSpeechInfo (
    SpeechChannel chan,
    OSType selector,
    void *speechInfo
);
To
OSErr GetSpeechInfo (
    SpeechChannel _Nonnull chan,
    OSType selector,
    void * _Nonnull speechInfo
);

Declaration
From
OSErr GetSpeechPitch (
    SpeechChannel chan,
    Fixed *pitch
);
To
OSErr GetSpeechPitch (
    SpeechChannel _Nonnull chan,
    Fixed * _Nonnull pitch
);

Declaration
From
OSErr GetSpeechRate (
    SpeechChannel chan,
    Fixed *rate
);
To
OSErr GetSpeechRate (
    SpeechChannel _Nonnull chan,
    Fixed * _Nonnull rate
);

Declaration
From
OSErr GetVoiceDescription (
    const VoiceSpec *voice,
    VoiceDescription *info,
    long infoLength
);
To
OSErr GetVoiceDescription (
    const VoiceSpec * _Nullable voice,
    VoiceDescription * _Nullable info,
    long infoLength
);

Declaration
From
OSErr GetVoiceInfo (
    const VoiceSpec *voice,
    OSType selector,
    void *voiceInfo
);
To
OSErr GetVoiceInfo (
    const VoiceSpec * _Nullable voice,
    OSType selector,
    void * _Nonnull voiceInfo
);

Declaration
From
void InvokeSpeechDoneUPP (
    SpeechChannel chan,
    SRefCon refCon,
    SpeechDoneUPP userUPP
);
To
void InvokeSpeechDoneUPP (
    SpeechChannel _Nonnull chan,
    SRefCon refCon,
    SpeechDoneUPP _Nonnull userUPP
);

Declaration
From
void InvokeSpeechErrorUPP (
    SpeechChannel chan,
    SRefCon refCon,
    OSErr theError,
    long bytePos,
    SpeechErrorUPP userUPP
);
To
void InvokeSpeechErrorUPP (
    SpeechChannel _Nonnull chan,
    SRefCon refCon,
    OSErr theError,
    long bytePos,
    SpeechErrorUPP _Nonnull userUPP
);

Declaration
From
void InvokeSpeechPhonemeUPP (
    SpeechChannel chan,
    SRefCon refCon,
    SInt16 phonemeOpcode,
    SpeechPhonemeUPP userUPP
);
To
void InvokeSpeechPhonemeUPP (
    SpeechChannel _Nonnull chan,
    SRefCon refCon,
    SInt16 phonemeOpcode,
    SpeechPhonemeUPP _Nonnull userUPP
);

Declaration
From
void InvokeSpeechSyncUPP (
    SpeechChannel chan,
    SRefCon refCon,
    OSType syncMessage,
    SpeechSyncUPP userUPP
);
To
void InvokeSpeechSyncUPP (
    SpeechChannel _Nonnull chan,
    SRefCon refCon,
    OSType syncMessage,
    SpeechSyncUPP _Nonnull userUPP
);

Declaration
From
void InvokeSpeechTextDoneUPP (
    SpeechChannel chan,
    SRefCon refCon,
    const void **nextBuf,
    unsigned long *byteLen,
    SInt32 *controlFlags,
    SpeechTextDoneUPP userUPP
);
To
void InvokeSpeechTextDoneUPP (
    SpeechChannel _Nonnull chan,
    SRefCon refCon,
    const void * _Nullable * _Nullable nextBuf,
    unsigned long * _Nonnull byteLen,
    SInt32 * _Nonnull controlFlags,
    SpeechTextDoneUPP _Nonnull userUPP
);

Declaration
From
void InvokeSpeechWordUPP (
    SpeechChannel chan,
    SRefCon refCon,
    unsigned long wordPos,
    UInt16 wordLen,
    SpeechWordUPP userUPP
);
To
void InvokeSpeechWordUPP (
    SpeechChannel _Nonnull chan,
    SRefCon refCon,
    unsigned long wordPos,
    UInt16 wordLen,
    SpeechWordUPP _Nonnull userUPP
);

Declaration
From
OSErr MakeVoiceSpec (
    OSType creator,
    OSType id,
    VoiceSpec *voice
);
To
OSErr MakeVoiceSpec (
    OSType creator,
    OSType id,
    VoiceSpec * _Nonnull voice
);

Declaration
From
OSErr NewSpeechChannel (
    VoiceSpec *voice,
    SpeechChannel *chan
);
To
OSErr NewSpeechChannel (
    VoiceSpec * _Nullable voice,
    SpeechChannel  _Nullable * _Nonnull chan
);

Declaration
From
SpeechDoneUPP NewSpeechDoneUPP (
    SpeechDoneProcPtr userRoutine
);
To
SpeechDoneUPP _Nonnull NewSpeechDoneUPP (
    SpeechDoneProcPtr _Nonnull userRoutine
);

Declaration
From
SpeechErrorUPP NewSpeechErrorUPP (
    SpeechErrorProcPtr userRoutine
);
To
SpeechErrorUPP _Nonnull NewSpeechErrorUPP (
    SpeechErrorProcPtr _Nonnull userRoutine
);

Declaration
From
SpeechPhonemeUPP NewSpeechPhonemeUPP (
    SpeechPhonemeProcPtr userRoutine
);
To
SpeechPhonemeUPP _Nonnull NewSpeechPhonemeUPP (
    SpeechPhonemeProcPtr _Nonnull userRoutine
);

Declaration
From
SpeechSyncUPP NewSpeechSyncUPP (
    SpeechSyncProcPtr userRoutine
);
To
SpeechSyncUPP _Nonnull NewSpeechSyncUPP (
    SpeechSyncProcPtr _Nonnull userRoutine
);

Declaration
From
SpeechTextDoneUPP NewSpeechTextDoneUPP (
    SpeechTextDoneProcPtr userRoutine
);
To
SpeechTextDoneUPP _Nonnull NewSpeechTextDoneUPP (
    SpeechTextDoneProcPtr _Nonnull userRoutine
);

Declaration
From
SpeechWordUPP NewSpeechWordUPP (
    SpeechWordProcPtr userRoutine
);
To
SpeechWordUPP _Nonnull NewSpeechWordUPP (
    SpeechWordProcPtr _Nonnull userRoutine
);

Declaration
From
OSErr PauseSpeechAt (
    SpeechChannel chan,
    SInt32 whereToPause
);
To
OSErr PauseSpeechAt (
    SpeechChannel _Nonnull chan,
    SInt32 whereToPause
);

Declaration
From
OSErr SetSpeechInfo (
    SpeechChannel chan,
    OSType selector,
    const void *speechInfo
);
To
OSErr SetSpeechInfo (
    SpeechChannel _Nonnull chan,
    OSType selector,
    const void * _Nullable speechInfo
);

Declaration
From
OSErr SetSpeechPitch (
    SpeechChannel chan,
    Fixed pitch
);
To
OSErr SetSpeechPitch (
    SpeechChannel _Nonnull chan,
    Fixed pitch
);

Declaration
From
OSErr SetSpeechProperty (
    SpeechChannel chan,
    CFStringRef property,
    CFTypeRef object
);
To
OSErr SetSpeechProperty (
    SpeechChannel _Nonnull chan,
    CFStringRef _Nonnull property,
    CFTypeRef _Nullable object
);

Declaration
From
OSErr SetSpeechRate (
    SpeechChannel chan,
    Fixed rate
);
To
OSErr SetSpeechRate (
    SpeechChannel _Nonnull chan,
    Fixed rate
);

Modified SpeakBuffer()
Declaration
From
OSErr SpeakBuffer (
    SpeechChannel chan,
    const void *textBuf,
    unsigned long textBytes,
    SInt32 controlFlags
);
To
OSErr SpeakBuffer (
    SpeechChannel _Nonnull chan,
    const void * _Nonnull textBuf,
    unsigned long textBytes,
    SInt32 controlFlags
);

Declaration
From
OSErr SpeakCFString (
    SpeechChannel chan,
    CFStringRef aString,
    CFDictionaryRef options
);
To
OSErr SpeakCFString (
    SpeechChannel _Nonnull chan,
    CFStringRef _Nonnull aString,
    CFDictionaryRef _Nullable options
);

Modified SpeakString()
Declaration
From
OSErr SpeakString (
    ConstStr255Param textToBeSpoken
);
To
OSErr SpeakString (
    ConstStr255Param _Nonnull textToBeSpoken
);

Modified SpeakText()
Declaration
From
OSErr SpeakText (
    SpeechChannel chan,
    const void *textBuf,
    unsigned long textBytes
);
To
OSErr SpeakText (
    SpeechChannel _Nonnull chan,
    const void * _Nonnull textBuf,
    unsigned long textBytes
);

Declaration
From
OSErr SpeechSynthesisRegisterModuleURL (
    CFURLRef url
);
To
OSErr SpeechSynthesisRegisterModuleURL (
    CFURLRef _Nonnull url
);

Declaration
From
OSErr SpeechSynthesisUnregisterModuleURL (
    CFURLRef url
);
To
OSErr SpeechSynthesisUnregisterModuleURL (
    CFURLRef _Nonnull url
);

Modified StopSpeech()
Declaration
From
OSErr StopSpeech (
    SpeechChannel chan
);
To
OSErr StopSpeech (
    SpeechChannel _Nonnull chan
);

Declaration
From
OSErr StopSpeechAt (
    SpeechChannel chan,
    SInt32 whereToStop
);
To
OSErr StopSpeechAt (
    SpeechChannel _Nonnull chan,
    SInt32 whereToStop
);

Declaration
From
OSErr TextToPhonemes (
    SpeechChannel chan,
    const void *textBuf,
    unsigned long textBytes,
    Handle phonemeBuf,
    long *phonemeBytes
);
To
OSErr TextToPhonemes (
    SpeechChannel _Nonnull chan,
    const void * _Nonnull textBuf,
    unsigned long textBytes,
    Handle _Nonnull phonemeBuf,
    long * _Nonnull phonemeBytes
);

Declaration
From
OSErr UseDictionary (
    SpeechChannel chan,
    Handle dictionary
);
To
OSErr UseDictionary (
    SpeechChannel _Nonnull chan,
    Handle _Nonnull dictionary
);

Declaration
From
OSErr UseSpeechDictionary (
    SpeechChannel chan,
    CFDictionaryRef speechDictionary
);
To
OSErr UseSpeechDictionary (
    SpeechChannel _Nonnull chan,
    CFDictionaryRef _Nonnull speechDictionary
);