added iOS source code
[wl-app.git] / iOS / Pods / Crashlytics / iOS / Crashlytics.framework / Headers / ANSCompatibility.h
1 //
2 //  ANSCompatibility.h
3 //  AnswersKit
4 //
5 //  Copyright (c) 2015 Crashlytics, Inc. All rights reserved.
6 //
7
8 #pragma once
9
10 #if !__has_feature(nullability)
11 #define nonnull
12 #define nullable
13 #define _Nullable
14 #define _Nonnull
15 #endif
16
17 #ifndef NS_ASSUME_NONNULL_BEGIN
18 #define NS_ASSUME_NONNULL_BEGIN
19 #endif
20
21 #ifndef NS_ASSUME_NONNULL_END
22 #define NS_ASSUME_NONNULL_END
23 #endif
24
25 #if __has_feature(objc_generics)
26 #define ANS_GENERIC_NSARRAY(type) NSArray<type>
27 #define ANS_GENERIC_NSDICTIONARY(key_type,object_key) NSDictionary<key_type, object_key>
28 #else
29 #define ANS_GENERIC_NSARRAY(type) NSArray
30 #define ANS_GENERIC_NSDICTIONARY(key_type,object_key) NSDictionary
31 #endif