Add __autoreleasing to NSError

This commit is contained in:
Damiano Galassi committed 2017-10-09 12:34:51 +02:00
1 parent 668b9f692b
commit 545042e33f
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, strong) MP42File *mp4;
- (instancetype)initWithMP4:(MP42File *)mp4File error:(NSError **)outError;
- (instancetype)initWithMP4:(MP42File *)mp4File error:(NSError * __autoreleasing *)outError;
@property (nonatomic, strong, nullable) NSWindowController *sheetController;
+1 -1
View File
@@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface SBFileImport : NSWindowController
- (instancetype)init NS_UNAVAILABLE;
- (nullable instancetype)initWithURLs:(NSArray<NSURL *> *)fileURLs delegate:(id <SBFileImportDelegate>)delegate error:(NSError **)error;
- (nullable instancetype)initWithURLs:(NSArray<NSURL *> *)fileURLs delegate:(id <SBFileImportDelegate>)delegate error:(NSError * __autoreleasing *)error;
- (IBAction)closeWindow:(id)sender;
- (IBAction)addTracks:(id)sender;
+2 -2
View File
@@ -46,8 +46,8 @@ typedef NS_ENUM(NSUInteger, SBQueueItemStatus) {
- (void)addAction:(id<SBQueueActionProtocol>)action;
- (void)removeAction:(id<SBQueueActionProtocol>)action;
- (BOOL)prepare:(NSError **)outError;
- (BOOL)processWithOptions:(BOOL)optimize error:(NSError **)outError;
- (BOOL)prepare:(NSError * __autoreleasing *)outError;
- (BOOL)processWithOptions:(BOOL)optimize error:(NSError * __autoreleasing *)outError;
- (void)cancel;
@end