|
1 | | -// Generated by Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2) |
| 1 | +// Generated by Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1) |
2 | 2 | #pragma clang diagnostic push |
3 | 3 | #pragma clang diagnostic ignored "-Wgcc-compat" |
4 | 4 |
|
|
15 | 15 | # define __has_warning(x) 0 |
16 | 16 | #endif |
17 | 17 |
|
18 | | -#if __has_attribute(external_source_symbol) |
19 | | -# define SWIFT_STRINGIFY(str) #str |
20 | | -# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) _Pragma(SWIFT_STRINGIFY(clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in=module_name, generated_declaration))), apply_to=any(function, enum, objc_interface, objc_category, objc_protocol)))) |
21 | | -# define SWIFT_MODULE_NAMESPACE_POP _Pragma("clang attribute pop") |
22 | | -#else |
23 | | -# define SWIFT_MODULE_NAMESPACE_PUSH(module_name) |
24 | | -# define SWIFT_MODULE_NAMESPACE_POP |
25 | | -#endif |
26 | | - |
27 | 18 | #if __has_include(<swift/objc-prologue.h>) |
28 | 19 | # include <swift/objc-prologue.h> |
29 | 20 | #endif |
|
38 | 29 | # define SWIFT_TYPEDEFS 1 |
39 | 30 | # if __has_include(<uchar.h>) |
40 | 31 | # include <uchar.h> |
41 | | -# elif !defined(__cplusplus) || __cplusplus < 201103L |
| 32 | +# elif !defined(__cplusplus) |
42 | 33 | typedef uint_least16_t char16_t; |
43 | 34 | typedef uint_least32_t char32_t; |
44 | 35 | # endif |
@@ -186,7 +177,13 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); |
186 | 177 | #pragma clang diagnostic ignored "-Wunknown-pragmas" |
187 | 178 | #pragma clang diagnostic ignored "-Wnullability" |
188 | 179 |
|
189 | | -SWIFT_MODULE_NAMESPACE_PUSH("PredixMobileSDK") |
| 180 | +#if __has_attribute(external_source_symbol) |
| 181 | +# pragma push_macro("any") |
| 182 | +# undef any |
| 183 | +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PredixMobileSDK",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol)) |
| 184 | +# pragma pop_macro("any") |
| 185 | +#endif |
| 186 | + |
190 | 187 | /// Enumeration for specifying location of configuration elements. |
191 | 188 | typedef SWIFT_ENUM(NSInteger, ConfigurationLocation) { |
192 | 189 | /// Configuration is stored in the Settings bundle |
@@ -214,6 +211,7 @@ typedef SWIFT_ENUM(NSInteger, ConfigurationLocation) { |
214 | 211 | SWIFT_CLASS("_TtC15PredixMobileSDK14FullTextSearch") |
215 | 212 | @interface FullTextSearch : NSObject |
216 | 213 | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| 214 | ++ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable"); |
217 | 215 | @end |
218 | 216 |
|
219 | 217 | enum LoggerLevel : NSInteger; |
@@ -524,6 +522,7 @@ SWIFT_CLASS("_TtC15PredixMobileSDK27PredixMobilityConfiguration") |
524 | 522 | SWIFT_CLASS("_TtC15PredixMobileSDK21PredixMobilityManager") |
525 | 523 | @interface PredixMobilityManager : NSObject |
526 | 524 | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| 525 | ++ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable"); |
527 | 526 | @end |
528 | 527 |
|
529 | 528 |
|
@@ -650,6 +649,7 @@ SWIFT_PROTOCOL("_TtP15PredixMobileSDK21ServiceRouterProtocol_") |
650 | 649 | SWIFT_CLASS("_TtC15PredixMobileSDK13ServiceRouter") |
651 | 650 | @interface ServiceRouter : NSObject <ServiceRouterProtocol> |
652 | 651 | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| 652 | ++ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable"); |
653 | 653 | /// Registers the provided service class. |
654 | 654 | /// \param service class type meeting the ServiceProtocol type. |
655 | 655 | /// |
@@ -771,7 +771,10 @@ typedef SWIFT_ENUM(NSInteger, WaitState) { |
771 | 771 | SWIFT_CLASS("_TtC15PredixMobileSDK15WaitStateReturn") |
772 | 772 | @interface WaitStateReturn : NSObject |
773 | 773 | - (nonnull instancetype)init SWIFT_UNAVAILABLE; |
| 774 | ++ (nonnull instancetype)new SWIFT_DEPRECATED_MSG("-init is unavailable"); |
774 | 775 | @end |
775 | 776 |
|
776 | | -SWIFT_MODULE_NAMESPACE_POP |
| 777 | +#if __has_attribute(external_source_symbol) |
| 778 | +# pragma clang attribute pop |
| 779 | +#endif |
777 | 780 | #pragma clang diagnostic pop |
0 commit comments