Add __autoreleasing to NSError

This commit is contained in:
Damiano Galassi committed 2017-10-09 12:34:55 +02:00
1 parent 1f26adec8f
commit f0f7a0704b
39 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface MP42AudioEncoder : NSObject<MP42AudioUnit>
- (instancetype)initWithInputUnit:(id<MP42AudioUnit>)unit bitRate:(NSUInteger)bitRate error:(NSError **)error;
- (instancetype)initWithInputUnit:(id<MP42AudioUnit>)unit bitRate:(NSUInteger)bitRate error:(NSError * __autoreleasing *)error;
@property (nonatomic, readonly, nullable) AudioChannelLayout *inputLayout;
@property (nonatomic, readonly) UInt32 inputLayoutSize;