Add __autoreleasing to NSError
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user