diff options
author | Damiano Galassi <[email protected]> | 2019-08-12 10:19:00 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-08-12 10:19:00 +0200 |
commit | c5a4d181ebedbdee2bdfefeffa28128d0b9c95c1 (patch) | |
tree | 635e3d036b7065987f29d38489838ceb6cdd11eb /macosx/HBImageUtilities.h | |
parent | 76d08e5d4bb6287de03519cf43cc298d2d896a7a (diff) |
MacGui: enable and fix more warnings. Review nullability annotations.
Diffstat (limited to 'macosx/HBImageUtilities.h')
-rw-r--r-- | macosx/HBImageUtilities.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/macosx/HBImageUtilities.h b/macosx/HBImageUtilities.h index 6258d5d4f..beb19593f 100644 --- a/macosx/HBImageUtilities.h +++ b/macosx/HBImageUtilities.h @@ -6,6 +6,11 @@ #import <Foundation/Foundation.h> -CGImageRef CreateScaledCGImageFromCGImage(CGImageRef image, CGFloat thumbnailHeight); -CGImageRef CGImageRotated(CGImageRef imgRef, CGFloat angle, BOOL flipped) CF_RETURNS_RETAINED; +CF_ASSUME_NONNULL_BEGIN + +CGImageRef __nullable CreateScaledCGImageFromCGImage(CGImageRef image, CGFloat thumbnailHeight); +CGImageRef __nullable CGImageRotated(CGImageRef imgRef, CGFloat angle, BOOL flipped) CF_RETURNS_RETAINED; CGColorSpaceRef copyColorSpace(int primaries, int transfer, int matrix); + +CF_ASSUME_NONNULL_END + |