Set FlutterTexture copyPixelBuffer return nullable (flutter/engine#4934)

This is to support Swift users, where nil is allowed for CVPixelBufferRef.
This commit is contained in:
Chris Bracken
2018-04-04 13:53:49 -07:00
committed by GitHub
parent 9d8af00f8b
commit 1a82cb0edc

View File

@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
FLUTTER_EXPORT
@protocol FlutterTexture<NSObject>
- (CVPixelBufferRef)copyPixelBuffer;
- (CVPixelBufferRef _Nullable)copyPixelBuffer;
@end
FLUTTER_EXPORT