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