From 31f4173376053e78b0c570de8edabce47883fd70 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 14 Oct 2025 16:37:13 +0200 Subject: [PATCH] [CoreGraphics] Update to Xcode 26.1 beta 2. --- src/CoreGraphics/CGColorSpace.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/CoreGraphics/CGColorSpace.cs b/src/CoreGraphics/CGColorSpace.cs index 50be5dd152af..506059c5f6c1 100644 --- a/src/CoreGraphics/CGColorSpace.cs +++ b/src/CoreGraphics/CGColorSpace.cs @@ -660,7 +660,7 @@ public bool IsWideGamutRgb { [SupportedOSPlatform ("tvos")] [SupportedOSPlatform ("maccatalyst")] [DllImport (Constants.CoreGraphicsLibrary)] - static extern byte CGColorSpaceSupportsOutput (/* CGColorSpaceRef */ IntPtr space); + static extern byte CGColorSpaceSupportsOutput (/* CGColorSpaceRef cg_nullable */ IntPtr space); /// Gets a Boolean value that tells whether the color space supports output. /// To be added. @@ -732,7 +732,7 @@ public bool IsHdr { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [DllImport (Constants.CoreGraphicsLibrary)] - static extern byte CGColorSpaceUsesExtendedRange (/* CGColorSpaceRef */ IntPtr space); + static extern byte CGColorSpaceUsesExtendedRange (/* CGColorSpaceRef gc_nullable */ IntPtr space); [SupportedOSPlatform ("ios14.0")] [SupportedOSPlatform ("tvos14.0")] @@ -762,7 +762,7 @@ public bool UsesExtendedRange { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [DllImport (Constants.CoreGraphicsLibrary)] - static extern IntPtr CGColorSpaceCreateLinearized (/* CGColorSpaceRef */ IntPtr space); + static extern IntPtr CGColorSpaceCreateLinearized (/* CGColorSpaceRef gc_nullable */ IntPtr space); [SupportedOSPlatform ("ios14.1")] [SupportedOSPlatform ("tvos14.2")] @@ -775,7 +775,7 @@ public bool UsesExtendedRange { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [DllImport (Constants.CoreGraphicsLibrary)] - static extern IntPtr CGColorSpaceCreateExtended (/* CGColorSpaceRef */ IntPtr space); + static extern IntPtr CGColorSpaceCreateExtended (/* CGColorSpaceRef gc_nullable */ IntPtr space); [SupportedOSPlatform ("ios14.1")] [SupportedOSPlatform ("tvos14.2")] @@ -788,7 +788,7 @@ public bool UsesExtendedRange { [SupportedOSPlatform ("macos")] [SupportedOSPlatform ("maccatalyst")] [DllImport (Constants.CoreGraphicsLibrary)] - static extern IntPtr CGColorSpaceCreateExtendedLinearized (/* CGColorSpaceRef */ IntPtr space); + static extern IntPtr CGColorSpaceCreateExtendedLinearized (/* CGColorSpaceRef gc_nullable */ IntPtr space); [SupportedOSPlatform ("ios14.1")] [SupportedOSPlatform ("tvos14.2")] @@ -801,7 +801,7 @@ public bool UsesExtendedRange { [SupportedOSPlatform ("macos13.0")] [SupportedOSPlatform ("maccatalyst16.0")] [DllImport (Constants.CoreGraphicsLibrary)] - static extern IntPtr CGColorSpaceCreateCopyWithStandardRange (/* CGColorSpaceRef */ IntPtr s); + static extern IntPtr CGColorSpaceCreateCopyWithStandardRange (/* CGColorSpaceRef cg_nullable */ IntPtr s); [SupportedOSPlatform ("ios16.0")] [SupportedOSPlatform ("tvos16.0")]