diff options
Diffstat (limited to 'src/objc/smtp/MCOSMTPOperation.h')
-rw-r--r-- | src/objc/smtp/MCOSMTPOperation.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/objc/smtp/MCOSMTPOperation.h b/src/objc/smtp/MCOSMTPOperation.h index 7b92148f..111f386b 100644 --- a/src/objc/smtp/MCOSMTPOperation.h +++ b/src/objc/smtp/MCOSMTPOperation.h @@ -14,6 +14,7 @@ /** This is an asynchronous SMTP operation, used for sending messages. */ +NS_ASSUME_NONNULL_BEGIN @interface MCOSMTPOperation : MCOOperation /** @@ -26,8 +27,9 @@ - On failure, `error` will be set with `MCOErrorDomain` as domain and an error code available in MCOConstants.h, */ -- (void) start:(void (^)(NSError * error))completionBlock; +- (void) start:(void (^)(NSError * __nullable error))completionBlock; @end +NS_ASSUME_NONNULL_END #endif |