mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When trying to figure out errors from an import failure, the nullability completeness warnings would clutter the output making it difficult to identify the errors. Sprinkle the declaarations with `_Null_unspecified` to maintain the current nullability semantics and silence the warnings. NFC.
9 lines
236 B
C
9 lines
236 B
C
@import Foundation;
|
|
|
|
#pragma clang assume_nonnull begin
|
|
typedef void (^HandlerBlock)(NSString *(^message)(void));
|
|
#pragma clang assume_nonnull end
|
|
|
|
/// Default handler for logging.
|
|
extern _Null_unspecified HandlerBlock TheHandlerBlock;
|