RxSwift-Swift.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // Generated by Apple Swift version 2.2 (swiftlang-703.0.18.8 clang-703.0.31)
  2. #pragma clang diagnostic push
  3. #if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
  4. # include <swift/objc-prologue.h>
  5. #endif
  6. #pragma clang diagnostic ignored "-Wauto-import"
  7. #include <objc/NSObject.h>
  8. #include <stdint.h>
  9. #include <stddef.h>
  10. #include <stdbool.h>
  11. #if !defined(SWIFT_TYPEDEFS)
  12. # define SWIFT_TYPEDEFS 1
  13. # if defined(__has_include) && __has_include(<uchar.h>)
  14. # include <uchar.h>
  15. # elif !defined(__cplusplus) || __cplusplus < 201103L
  16. typedef uint_least16_t char16_t;
  17. typedef uint_least32_t char32_t;
  18. # endif
  19. typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  20. typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  21. typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  22. typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  23. typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  24. typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  25. typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  26. typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  27. typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  28. #endif
  29. #if !defined(SWIFT_PASTE)
  30. # define SWIFT_PASTE_HELPER(x, y) x##y
  31. # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  32. #endif
  33. #if !defined(SWIFT_METATYPE)
  34. # define SWIFT_METATYPE(X) Class
  35. #endif
  36. #if defined(__has_attribute) && __has_attribute(objc_runtime_name)
  37. # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  38. #else
  39. # define SWIFT_RUNTIME_NAME(X)
  40. #endif
  41. #if defined(__has_attribute) && __has_attribute(swift_name)
  42. # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  43. #else
  44. # define SWIFT_COMPILE_NAME(X)
  45. #endif
  46. #if !defined(SWIFT_CLASS_EXTRA)
  47. # define SWIFT_CLASS_EXTRA
  48. #endif
  49. #if !defined(SWIFT_PROTOCOL_EXTRA)
  50. # define SWIFT_PROTOCOL_EXTRA
  51. #endif
  52. #if !defined(SWIFT_ENUM_EXTRA)
  53. # define SWIFT_ENUM_EXTRA
  54. #endif
  55. #if !defined(SWIFT_CLASS)
  56. # if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted)
  57. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  58. # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  59. # else
  60. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  61. # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  62. # endif
  63. #endif
  64. #if !defined(SWIFT_PROTOCOL)
  65. # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  66. # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  67. #endif
  68. #if !defined(SWIFT_EXTENSION)
  69. # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  70. #endif
  71. #if !defined(OBJC_DESIGNATED_INITIALIZER)
  72. # if defined(__has_attribute) && __has_attribute(objc_designated_initializer)
  73. # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  74. # else
  75. # define OBJC_DESIGNATED_INITIALIZER
  76. # endif
  77. #endif
  78. #if !defined(SWIFT_ENUM)
  79. # define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type
  80. # if defined(__has_feature) && __has_feature(generalized_swift_name)
  81. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_EXTRA _name : _type
  82. # else
  83. # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name)
  84. # endif
  85. #endif
  86. #if defined(__has_feature) && __has_feature(modules)
  87. @import ObjectiveC;
  88. @import Foundation;
  89. #endif
  90. #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  91. #pragma clang diagnostic ignored "-Wduplicate-method-arg"
  92. SWIFT_CLASS("_TtC7RxSwift25CurrentThreadSchedulerKey")
  93. @interface CurrentThreadSchedulerKey : NSObject <NSCopying>
  94. - (BOOL)isEqual:(id _Nullable)object;
  95. @property (nonatomic, readonly) NSUInteger hash;
  96. - (id _Nonnull)copy;
  97. - (id _Nonnull)copyWithZone:(struct _NSZone * _Null_unspecified)zone;
  98. - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
  99. @end
  100. SWIFT_CLASS("_TtC7RxSwift30CurrentThreadSchedulerQueueKey")
  101. @interface CurrentThreadSchedulerQueueKey : NSObject <NSCopying>
  102. - (BOOL)isEqual:(id _Nullable)object;
  103. @property (nonatomic, readonly) NSUInteger hash;
  104. - (id _Nonnull)copy;
  105. - (id _Nonnull)copyWithZone:(struct _NSZone * _Null_unspecified)zone;
  106. - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
  107. @end
  108. @interface NSRecursiveLock (SWIFT_EXTENSION(RxSwift))
  109. - (void)performLocked:(void (^ _Nonnull)(void))action;
  110. @end
  111. @interface NSThread (SWIFT_EXTENSION(RxSwift))
  112. @end
  113. #pragma clang diagnostic pop