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

+2 -2
View File
@@ -183,7 +183,7 @@ typedef void (^MP42FileProgressHandler)(double progress);
*
* @return YES if the movie file was successfully created, NO otherwise.
*/
- (BOOL)writeToUrl:(NSURL *)url options:(nullable NSDictionary<NSString *, id> *)options error:(NSError **)outError;
- (BOOL)writeToUrl:(NSURL *)url options:(nullable NSDictionary<NSString *, id> *)options error:(NSError * __autoreleasing *)outError;
/**
* Updates a MP42File object.
@@ -193,7 +193,7 @@ typedef void (^MP42FileProgressHandler)(double progress);
*
* @return YES if the movie file was successfully created, NO otherwise.
*/
- (BOOL)updateMP4FileWithOptions:(nullable NSDictionary<NSString *, id> *)options error:(NSError **)outError;
- (BOOL)updateMP4FileWithOptions:(nullable NSDictionary<NSString *, id> *)options error:(NSError * __autoreleasing *)outError;
/**
* Cancels a write/update operation.