Result-Swift.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. // Generated by Apple Swift version 2.1 (swiftlang-700.1.101.6 clang-700.1.76)
  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(__has_include) && __has_include(<uchar.h>)
  12. # include <uchar.h>
  13. #elif !defined(__cplusplus) || __cplusplus < 201103L
  14. typedef uint_least16_t char16_t;
  15. typedef uint_least32_t char32_t;
  16. #endif
  17. typedef struct _NSZone NSZone;
  18. #if !defined(SWIFT_PASTE)
  19. # define SWIFT_PASTE_HELPER(x, y) x##y
  20. # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  21. #endif
  22. #if !defined(SWIFT_METATYPE)
  23. # define SWIFT_METATYPE(X) Class
  24. #endif
  25. #if defined(__has_attribute) && __has_attribute(objc_runtime_name)
  26. # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  27. #else
  28. # define SWIFT_RUNTIME_NAME(X)
  29. #endif
  30. #if defined(__has_attribute) && __has_attribute(swift_name)
  31. # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  32. #else
  33. # define SWIFT_COMPILE_NAME(X)
  34. #endif
  35. #if !defined(SWIFT_CLASS_EXTRA)
  36. # define SWIFT_CLASS_EXTRA
  37. #endif
  38. #if !defined(SWIFT_PROTOCOL_EXTRA)
  39. # define SWIFT_PROTOCOL_EXTRA
  40. #endif
  41. #if !defined(SWIFT_ENUM_EXTRA)
  42. # define SWIFT_ENUM_EXTRA
  43. #endif
  44. #if !defined(SWIFT_CLASS)
  45. # if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted)
  46. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  47. # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  48. # else
  49. # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  50. # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  51. # endif
  52. #endif
  53. #if !defined(SWIFT_PROTOCOL)
  54. # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  55. # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  56. #endif
  57. #if !defined(SWIFT_EXTENSION)
  58. # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  59. #endif
  60. #if !defined(OBJC_DESIGNATED_INITIALIZER)
  61. # if defined(__has_attribute) && __has_attribute(objc_designated_initializer)
  62. # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  63. # else
  64. # define OBJC_DESIGNATED_INITIALIZER
  65. # endif
  66. #endif
  67. #if !defined(SWIFT_ENUM)
  68. # define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type
  69. #endif
  70. typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  71. typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  72. typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  73. typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  74. typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  75. typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  76. typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  77. typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  78. typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  79. #if defined(__has_feature) && __has_feature(modules)
  80. #endif
  81. #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  82. #pragma clang diagnostic ignored "-Wduplicate-method-arg"
  83. #pragma clang diagnostic pop