Decrements the retain count of a color space.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Graphics
Declaration
void CGColorSpaceRelease(CGColor Space Ref space);
Parameters
cs
The Quartz color space to release.
Discussion
This function is equivalent to CFRelease
, except that it does not cause an error if the cs
parameter is NULL
.