mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use the modern spelling for the nullability attributes in the test mock headers. Currently, this was relying on the predefined macros from clang to work. However, those are only available on Darwin targets. This is needed to make the mock environments more portable.
10 lines
170 B
C
10 lines
170 B
C
@import Foundation;
|
|
|
|
struct StructOfNSStrings {
|
|
__unsafe_unretained NSString *nsstr;
|
|
};
|
|
|
|
struct StructOfBlocks {
|
|
void (^__unsafe_unretained _Nonnull block)(void);
|
|
};
|