@kingstinct/react-native-healthkit 11.1.0 → 11.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/ios/ElectrocardiogramModule.swift +3 -1
  2. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.cpp +54 -54
  3. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +85 -78
  4. package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +1 -1
  5. package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -1
  6. package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +1 -1
  7. package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +2 -2
  8. package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +1 -2
  9. package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +4 -4
  10. package/nitrogen/generated/ios/swift/CategorySample.swift +2 -16
  11. package/nitrogen/generated/ios/swift/CategorySampleForSaving.swift +1 -8
  12. package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +2 -16
  13. package/nitrogen/generated/ios/swift/Func_void_std__optional_QueryStatisticsResponse_.swift +1 -8
  14. package/nitrogen/generated/ios/swift/Func_void_std__optional_WorkoutPlan_.swift +1 -8
  15. package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +2 -16
  16. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +1 -8
  17. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +33 -5
  18. package/nitrogen/generated/ios/swift/HybridElectrocardiogramModuleSpec_cxx.swift +1 -8
  19. package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec_cxx.swift +1 -8
  20. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +11 -24
  21. package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec_cxx.swift +10 -9
  22. package/nitrogen/generated/ios/swift/QuantitySample.swift +2 -16
  23. package/nitrogen/generated/ios/swift/QuantitySampleForSaving.swift +1 -8
  24. package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +7 -56
  25. package/nitrogen/generated/ios/swift/StateOfMindSample.swift +23 -45
  26. package/nitrogen/generated/ios/swift/WorkoutSample.swift +2 -16
  27. package/nitrogen/generated/shared/c++/CategorySample.hpp +8 -0
  28. package/nitrogen/generated/shared/c++/CategorySampleForSaving.hpp +8 -0
  29. package/nitrogen/generated/shared/c++/CategorySamplesWithAnchorResponse.hpp +8 -0
  30. package/nitrogen/generated/shared/c++/CorrelationSample.hpp +8 -0
  31. package/nitrogen/generated/shared/c++/DeletedSample.hpp +8 -0
  32. package/nitrogen/generated/shared/c++/Device.hpp +8 -0
  33. package/nitrogen/generated/shared/c++/ECGQueryOptionsWithAnchor.hpp +8 -0
  34. package/nitrogen/generated/shared/c++/ECGQueryOptionsWithSortOrder.hpp +8 -0
  35. package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +8 -0
  36. package/nitrogen/generated/shared/c++/ElectrocardiogramSamplesWithAnchorResponse.hpp +8 -0
  37. package/nitrogen/generated/shared/c++/ElectrocardiogramVoltage.hpp +8 -0
  38. package/nitrogen/generated/shared/c++/FilterForSamplesAnd.hpp +8 -0
  39. package/nitrogen/generated/shared/c++/FilterForSamplesOr.hpp +8 -0
  40. package/nitrogen/generated/shared/c++/Heartbeat.hpp +8 -0
  41. package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +8 -0
  42. package/nitrogen/generated/shared/c++/HeartbeatSeriesSamplesWithAnchorResponse.hpp +8 -0
  43. package/nitrogen/generated/shared/c++/IdentifierWithUnit.hpp +8 -0
  44. package/nitrogen/generated/shared/c++/IntervalComponents.hpp +8 -0
  45. package/nitrogen/generated/shared/c++/LocationForSaving.hpp +8 -0
  46. package/nitrogen/generated/shared/c++/OnChangeCallbackArgs.hpp +8 -0
  47. package/nitrogen/generated/shared/c++/PredicateForWorkoutsAnd.hpp +8 -0
  48. package/nitrogen/generated/shared/c++/PredicateForWorkoutsOr.hpp +8 -0
  49. package/nitrogen/generated/shared/c++/PredicateFromWorkout.hpp +8 -0
  50. package/nitrogen/generated/shared/c++/PredicateWithMetadataKey.hpp +8 -0
  51. package/nitrogen/generated/shared/c++/PredicateWithStartAndEnd.hpp +8 -0
  52. package/nitrogen/generated/shared/c++/PredicateWithUUID.hpp +8 -0
  53. package/nitrogen/generated/shared/c++/PredicateWithUUIDs.hpp +8 -0
  54. package/nitrogen/generated/shared/c++/Quantity.hpp +8 -0
  55. package/nitrogen/generated/shared/c++/QuantityDateInterval.hpp +8 -0
  56. package/nitrogen/generated/shared/c++/QuantitySample.hpp +8 -0
  57. package/nitrogen/generated/shared/c++/QuantitySampleForSaving.hpp +8 -0
  58. package/nitrogen/generated/shared/c++/QuantitySamplesWithAnchorResponse.hpp +8 -0
  59. package/nitrogen/generated/shared/c++/QueryOptionsWithAnchor.hpp +8 -0
  60. package/nitrogen/generated/shared/c++/QueryOptionsWithAnchorAndUnit.hpp +8 -0
  61. package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrder.hpp +8 -0
  62. package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrderAndUnit.hpp +8 -0
  63. package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +8 -0
  64. package/nitrogen/generated/shared/c++/QueryWorkoutSamplesWithAnchorResponse.hpp +8 -0
  65. package/nitrogen/generated/shared/c++/Source.hpp +8 -0
  66. package/nitrogen/generated/shared/c++/SourceRevision.hpp +8 -0
  67. package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +8 -0
  68. package/nitrogen/generated/shared/c++/StatisticsQueryOptions.hpp +8 -0
  69. package/nitrogen/generated/shared/c++/WorkoutActivity.hpp +8 -0
  70. package/nitrogen/generated/shared/c++/WorkoutActivityTypePredicate.hpp +8 -0
  71. package/nitrogen/generated/shared/c++/WorkoutConfiguration.hpp +8 -0
  72. package/nitrogen/generated/shared/c++/WorkoutDurationPredicate.hpp +8 -0
  73. package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +8 -0
  74. package/nitrogen/generated/shared/c++/WorkoutPlan.hpp +8 -0
  75. package/nitrogen/generated/shared/c++/WorkoutQueryOptions.hpp +8 -0
  76. package/nitrogen/generated/shared/c++/WorkoutQueryOptionsWithAnchor.hpp +8 -0
  77. package/nitrogen/generated/shared/c++/WorkoutRoute.hpp +8 -0
  78. package/nitrogen/generated/shared/c++/WorkoutRouteLocation.hpp +8 -0
  79. package/nitrogen/generated/shared/c++/WorkoutSample.hpp +8 -0
  80. package/nitrogen/generated/shared/c++/WorkoutTotals.hpp +8 -0
  81. package/package.json +5 -5
@@ -146,7 +146,7 @@ class ElectrocardiogramModule: HybridElectrocardiogramModuleSpec {
146
146
  symptomsStatus: serializeSymptomsStatus(sample.symptomsStatus),
147
147
  averageHeartRateBpm: avgHR,
148
148
  samplingFrequencyHz: freqHz,
149
- numberOfVoltageMeasurements: sample.numberOfVoltageMeasurements,
149
+ numberOfVoltageMeasurements: Double(sample.numberOfVoltageMeasurements),
150
150
  algorithmVersion: algorithmVersion,
151
151
  voltages: voltages,
152
152
  metadata: serializeMetadata(sample.metadata),
@@ -178,6 +178,8 @@ class ElectrocardiogramModule: HybridElectrocardiogramModuleSpec {
178
178
 
179
179
  case .done:
180
180
  continuation.resume(returning: all)
181
+ @unknown default:
182
+ continuation.resume(throwing: RuntimeError.error(withMessage: "HKElectrocardiogramQuery received unknown result type"))
181
183
  }
182
184
  }
183
185
  store.execute(q)
@@ -24,7 +24,7 @@
24
24
  namespace margelo::nitro::healthkit::bridge::swift {
25
25
 
26
26
  // pragma MARK: std::function<void(bool /* result */)>
27
- Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept {
27
+ Func_void_bool create_Func_void_bool(void* NON_NULL swiftClosureWrapper) noexcept {
28
28
  auto swiftClosure = ReactNativeHealthkit::Func_void_bool::fromUnsafe(swiftClosureWrapper);
29
29
  return [swiftClosure = std::move(swiftClosure)](bool result) mutable -> void {
30
30
  swiftClosure.call(result);
@@ -32,7 +32,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
32
32
  }
33
33
 
34
34
  // pragma MARK: std::function<void(const std::exception_ptr& /* error */)>
35
- Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept {
35
+ Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* NON_NULL swiftClosureWrapper) noexcept {
36
36
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__exception_ptr::fromUnsafe(swiftClosureWrapper);
37
37
  return [swiftClosure = std::move(swiftClosure)](const std::exception_ptr& error) mutable -> void {
38
38
  swiftClosure.call(error);
@@ -40,11 +40,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
40
40
  }
41
41
 
42
42
  // pragma MARK: std::shared_ptr<HybridSourceProxySpec>
43
- std::shared_ptr<HybridSourceProxySpec> create_std__shared_ptr_HybridSourceProxySpec_(void* _Nonnull swiftUnsafePointer) noexcept {
43
+ std::shared_ptr<HybridSourceProxySpec> create_std__shared_ptr_HybridSourceProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
44
44
  ReactNativeHealthkit::HybridSourceProxySpec_cxx swiftPart = ReactNativeHealthkit::HybridSourceProxySpec_cxx::fromUnsafe(swiftUnsafePointer);
45
45
  return std::make_shared<margelo::nitro::healthkit::HybridSourceProxySpecSwift>(swiftPart);
46
46
  }
47
- void* _Nonnull get_std__shared_ptr_HybridSourceProxySpec_(std__shared_ptr_HybridSourceProxySpec_ cppType) noexcept {
47
+ void* NON_NULL get_std__shared_ptr_HybridSourceProxySpec_(std__shared_ptr_HybridSourceProxySpec_ cppType) {
48
48
  std::shared_ptr<margelo::nitro::healthkit::HybridSourceProxySpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridSourceProxySpecSwift>(cppType);
49
49
  #ifdef NITRO_DEBUG
50
50
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -56,7 +56,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
56
56
  }
57
57
 
58
58
  // pragma MARK: std::function<void(const std::vector<CategorySample>& /* result */)>
59
- Func_void_std__vector_CategorySample_ create_Func_void_std__vector_CategorySample_(void* _Nonnull swiftClosureWrapper) noexcept {
59
+ Func_void_std__vector_CategorySample_ create_Func_void_std__vector_CategorySample_(void* NON_NULL swiftClosureWrapper) noexcept {
60
60
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_CategorySample_::fromUnsafe(swiftClosureWrapper);
61
61
  return [swiftClosure = std::move(swiftClosure)](const std::vector<CategorySample>& result) mutable -> void {
62
62
  swiftClosure.call(result);
@@ -64,11 +64,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
64
64
  }
65
65
 
66
66
  // pragma MARK: std::shared_ptr<HybridWorkoutProxySpec>
67
- std::shared_ptr<HybridWorkoutProxySpec> create_std__shared_ptr_HybridWorkoutProxySpec_(void* _Nonnull swiftUnsafePointer) noexcept {
67
+ std::shared_ptr<HybridWorkoutProxySpec> create_std__shared_ptr_HybridWorkoutProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
68
68
  ReactNativeHealthkit::HybridWorkoutProxySpec_cxx swiftPart = ReactNativeHealthkit::HybridWorkoutProxySpec_cxx::fromUnsafe(swiftUnsafePointer);
69
69
  return std::make_shared<margelo::nitro::healthkit::HybridWorkoutProxySpecSwift>(swiftPart);
70
70
  }
71
- void* _Nonnull get_std__shared_ptr_HybridWorkoutProxySpec_(std__shared_ptr_HybridWorkoutProxySpec_ cppType) noexcept {
71
+ void* NON_NULL get_std__shared_ptr_HybridWorkoutProxySpec_(std__shared_ptr_HybridWorkoutProxySpec_ cppType) {
72
72
  std::shared_ptr<margelo::nitro::healthkit::HybridWorkoutProxySpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridWorkoutProxySpecSwift>(cppType);
73
73
  #ifdef NITRO_DEBUG
74
74
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -80,7 +80,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
80
80
  }
81
81
 
82
82
  // pragma MARK: std::function<void(const CategorySamplesWithAnchorResponse& /* result */)>
83
- Func_void_CategorySamplesWithAnchorResponse create_Func_void_CategorySamplesWithAnchorResponse(void* _Nonnull swiftClosureWrapper) noexcept {
83
+ Func_void_CategorySamplesWithAnchorResponse create_Func_void_CategorySamplesWithAnchorResponse(void* NON_NULL swiftClosureWrapper) noexcept {
84
84
  auto swiftClosure = ReactNativeHealthkit::Func_void_CategorySamplesWithAnchorResponse::fromUnsafe(swiftClosureWrapper);
85
85
  return [swiftClosure = std::move(swiftClosure)](const CategorySamplesWithAnchorResponse& result) mutable -> void {
86
86
  swiftClosure.call(result);
@@ -88,11 +88,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
88
88
  }
89
89
 
90
90
  // pragma MARK: std::shared_ptr<HybridCategoryTypeModuleSpec>
91
- std::shared_ptr<HybridCategoryTypeModuleSpec> create_std__shared_ptr_HybridCategoryTypeModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
91
+ std::shared_ptr<HybridCategoryTypeModuleSpec> create_std__shared_ptr_HybridCategoryTypeModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
92
92
  ReactNativeHealthkit::HybridCategoryTypeModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridCategoryTypeModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
93
93
  return std::make_shared<margelo::nitro::healthkit::HybridCategoryTypeModuleSpecSwift>(swiftPart);
94
94
  }
95
- void* _Nonnull get_std__shared_ptr_HybridCategoryTypeModuleSpec_(std__shared_ptr_HybridCategoryTypeModuleSpec_ cppType) noexcept {
95
+ void* NON_NULL get_std__shared_ptr_HybridCategoryTypeModuleSpec_(std__shared_ptr_HybridCategoryTypeModuleSpec_ cppType) {
96
96
  std::shared_ptr<margelo::nitro::healthkit::HybridCategoryTypeModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridCategoryTypeModuleSpecSwift>(cppType);
97
97
  #ifdef NITRO_DEBUG
98
98
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -104,7 +104,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
104
104
  }
105
105
 
106
106
  // pragma MARK: std::function<void(BloodType /* result */)>
107
- Func_void_BloodType create_Func_void_BloodType(void* _Nonnull swiftClosureWrapper) noexcept {
107
+ Func_void_BloodType create_Func_void_BloodType(void* NON_NULL swiftClosureWrapper) noexcept {
108
108
  auto swiftClosure = ReactNativeHealthkit::Func_void_BloodType::fromUnsafe(swiftClosureWrapper);
109
109
  return [swiftClosure = std::move(swiftClosure)](BloodType result) mutable -> void {
110
110
  swiftClosure.call(static_cast<int>(result));
@@ -112,7 +112,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
112
112
  }
113
113
 
114
114
  // pragma MARK: std::function<void(std::optional<std::chrono::system_clock::time_point> /* result */)>
115
- Func_void_std__optional_std__chrono__system_clock__time_point_ create_Func_void_std__optional_std__chrono__system_clock__time_point_(void* _Nonnull swiftClosureWrapper) noexcept {
115
+ Func_void_std__optional_std__chrono__system_clock__time_point_ create_Func_void_std__optional_std__chrono__system_clock__time_point_(void* NON_NULL swiftClosureWrapper) noexcept {
116
116
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__optional_std__chrono__system_clock__time_point_::fromUnsafe(swiftClosureWrapper);
117
117
  return [swiftClosure = std::move(swiftClosure)](std::optional<std::chrono::system_clock::time_point> result) mutable -> void {
118
118
  swiftClosure.call(result);
@@ -120,7 +120,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
120
120
  }
121
121
 
122
122
  // pragma MARK: std::function<void(BiologicalSex /* result */)>
123
- Func_void_BiologicalSex create_Func_void_BiologicalSex(void* _Nonnull swiftClosureWrapper) noexcept {
123
+ Func_void_BiologicalSex create_Func_void_BiologicalSex(void* NON_NULL swiftClosureWrapper) noexcept {
124
124
  auto swiftClosure = ReactNativeHealthkit::Func_void_BiologicalSex::fromUnsafe(swiftClosureWrapper);
125
125
  return [swiftClosure = std::move(swiftClosure)](BiologicalSex result) mutable -> void {
126
126
  swiftClosure.call(static_cast<int>(result));
@@ -128,7 +128,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
128
128
  }
129
129
 
130
130
  // pragma MARK: std::function<void(FitzpatrickSkinType /* result */)>
131
- Func_void_FitzpatrickSkinType create_Func_void_FitzpatrickSkinType(void* _Nonnull swiftClosureWrapper) noexcept {
131
+ Func_void_FitzpatrickSkinType create_Func_void_FitzpatrickSkinType(void* NON_NULL swiftClosureWrapper) noexcept {
132
132
  auto swiftClosure = ReactNativeHealthkit::Func_void_FitzpatrickSkinType::fromUnsafe(swiftClosureWrapper);
133
133
  return [swiftClosure = std::move(swiftClosure)](FitzpatrickSkinType result) mutable -> void {
134
134
  swiftClosure.call(static_cast<int>(result));
@@ -136,7 +136,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
136
136
  }
137
137
 
138
138
  // pragma MARK: std::function<void(WheelchairUse /* result */)>
139
- Func_void_WheelchairUse create_Func_void_WheelchairUse(void* _Nonnull swiftClosureWrapper) noexcept {
139
+ Func_void_WheelchairUse create_Func_void_WheelchairUse(void* NON_NULL swiftClosureWrapper) noexcept {
140
140
  auto swiftClosure = ReactNativeHealthkit::Func_void_WheelchairUse::fromUnsafe(swiftClosureWrapper);
141
141
  return [swiftClosure = std::move(swiftClosure)](WheelchairUse result) mutable -> void {
142
142
  swiftClosure.call(static_cast<int>(result));
@@ -144,11 +144,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
144
144
  }
145
145
 
146
146
  // pragma MARK: std::shared_ptr<HybridCharacteristicTypeModuleSpec>
147
- std::shared_ptr<HybridCharacteristicTypeModuleSpec> create_std__shared_ptr_HybridCharacteristicTypeModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
147
+ std::shared_ptr<HybridCharacteristicTypeModuleSpec> create_std__shared_ptr_HybridCharacteristicTypeModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
148
148
  ReactNativeHealthkit::HybridCharacteristicTypeModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridCharacteristicTypeModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
149
149
  return std::make_shared<margelo::nitro::healthkit::HybridCharacteristicTypeModuleSpecSwift>(swiftPart);
150
150
  }
151
- void* _Nonnull get_std__shared_ptr_HybridCharacteristicTypeModuleSpec_(std__shared_ptr_HybridCharacteristicTypeModuleSpec_ cppType) noexcept {
151
+ void* NON_NULL get_std__shared_ptr_HybridCharacteristicTypeModuleSpec_(std__shared_ptr_HybridCharacteristicTypeModuleSpec_ cppType) {
152
152
  std::shared_ptr<margelo::nitro::healthkit::HybridCharacteristicTypeModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridCharacteristicTypeModuleSpecSwift>(cppType);
153
153
  #ifdef NITRO_DEBUG
154
154
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -160,7 +160,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
160
160
  }
161
161
 
162
162
  // pragma MARK: std::function<void(const std::vector<IdentifierWithUnit>& /* result */)>
163
- Func_void_std__vector_IdentifierWithUnit_ create_Func_void_std__vector_IdentifierWithUnit_(void* _Nonnull swiftClosureWrapper) noexcept {
163
+ Func_void_std__vector_IdentifierWithUnit_ create_Func_void_std__vector_IdentifierWithUnit_(void* NON_NULL swiftClosureWrapper) noexcept {
164
164
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_IdentifierWithUnit_::fromUnsafe(swiftClosureWrapper);
165
165
  return [swiftClosure = std::move(swiftClosure)](const std::vector<IdentifierWithUnit>& result) mutable -> void {
166
166
  swiftClosure.call(result);
@@ -168,7 +168,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
168
168
  }
169
169
 
170
170
  // pragma MARK: std::function<void(const std::vector<std::shared_ptr<HybridSourceProxySpec>>& /* result */)>
171
- Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__ create_Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__(void* _Nonnull swiftClosureWrapper) noexcept {
171
+ Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__ create_Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__(void* NON_NULL swiftClosureWrapper) noexcept {
172
172
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__::fromUnsafe(swiftClosureWrapper);
173
173
  return [swiftClosure = std::move(swiftClosure)](const std::vector<std::shared_ptr<HybridSourceProxySpec>>& result) mutable -> void {
174
174
  swiftClosure.call(result);
@@ -176,7 +176,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
176
176
  }
177
177
 
178
178
  // pragma MARK: std::function<void(const OnChangeCallbackArgs& /* args */)>
179
- Func_void_OnChangeCallbackArgs create_Func_void_OnChangeCallbackArgs(void* _Nonnull swiftClosureWrapper) noexcept {
179
+ Func_void_OnChangeCallbackArgs create_Func_void_OnChangeCallbackArgs(void* NON_NULL swiftClosureWrapper) noexcept {
180
180
  auto swiftClosure = ReactNativeHealthkit::Func_void_OnChangeCallbackArgs::fromUnsafe(swiftClosureWrapper);
181
181
  return [swiftClosure = std::move(swiftClosure)](const OnChangeCallbackArgs& args) mutable -> void {
182
182
  swiftClosure.call(args);
@@ -184,7 +184,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
184
184
  }
185
185
 
186
186
  // pragma MARK: std::function<void(double /* result */)>
187
- Func_void_double create_Func_void_double(void* _Nonnull swiftClosureWrapper) noexcept {
187
+ Func_void_double create_Func_void_double(void* NON_NULL swiftClosureWrapper) noexcept {
188
188
  auto swiftClosure = ReactNativeHealthkit::Func_void_double::fromUnsafe(swiftClosureWrapper);
189
189
  return [swiftClosure = std::move(swiftClosure)](double result) mutable -> void {
190
190
  swiftClosure.call(result);
@@ -192,7 +192,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
192
192
  }
193
193
 
194
194
  // pragma MARK: std::function<void(AuthorizationRequestStatus /* result */)>
195
- Func_void_AuthorizationRequestStatus create_Func_void_AuthorizationRequestStatus(void* _Nonnull swiftClosureWrapper) noexcept {
195
+ Func_void_AuthorizationRequestStatus create_Func_void_AuthorizationRequestStatus(void* NON_NULL swiftClosureWrapper) noexcept {
196
196
  auto swiftClosure = ReactNativeHealthkit::Func_void_AuthorizationRequestStatus::fromUnsafe(swiftClosureWrapper);
197
197
  return [swiftClosure = std::move(swiftClosure)](AuthorizationRequestStatus result) mutable -> void {
198
198
  swiftClosure.call(static_cast<int>(result));
@@ -200,7 +200,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
200
200
  }
201
201
 
202
202
  // pragma MARK: std::function<void(const std::unordered_map<std::string, bool>& /* result */)>
203
- Func_void_std__unordered_map_std__string__bool_ create_Func_void_std__unordered_map_std__string__bool_(void* _Nonnull swiftClosureWrapper) noexcept {
203
+ Func_void_std__unordered_map_std__string__bool_ create_Func_void_std__unordered_map_std__string__bool_(void* NON_NULL swiftClosureWrapper) noexcept {
204
204
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__unordered_map_std__string__bool_::fromUnsafe(swiftClosureWrapper);
205
205
  return [swiftClosure = std::move(swiftClosure)](const std::unordered_map<std::string, bool>& result) mutable -> void {
206
206
  swiftClosure.call(result);
@@ -208,11 +208,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
208
208
  }
209
209
 
210
210
  // pragma MARK: std::shared_ptr<HybridCoreModuleSpec>
211
- std::shared_ptr<HybridCoreModuleSpec> create_std__shared_ptr_HybridCoreModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
211
+ std::shared_ptr<HybridCoreModuleSpec> create_std__shared_ptr_HybridCoreModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
212
212
  ReactNativeHealthkit::HybridCoreModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridCoreModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
213
213
  return std::make_shared<margelo::nitro::healthkit::HybridCoreModuleSpecSwift>(swiftPart);
214
214
  }
215
- void* _Nonnull get_std__shared_ptr_HybridCoreModuleSpec_(std__shared_ptr_HybridCoreModuleSpec_ cppType) noexcept {
215
+ void* NON_NULL get_std__shared_ptr_HybridCoreModuleSpec_(std__shared_ptr_HybridCoreModuleSpec_ cppType) {
216
216
  std::shared_ptr<margelo::nitro::healthkit::HybridCoreModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridCoreModuleSpecSwift>(cppType);
217
217
  #ifdef NITRO_DEBUG
218
218
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -224,7 +224,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
224
224
  }
225
225
 
226
226
  // pragma MARK: std::function<void(const std::vector<CorrelationSample>& /* result */)>
227
- Func_void_std__vector_CorrelationSample_ create_Func_void_std__vector_CorrelationSample_(void* _Nonnull swiftClosureWrapper) noexcept {
227
+ Func_void_std__vector_CorrelationSample_ create_Func_void_std__vector_CorrelationSample_(void* NON_NULL swiftClosureWrapper) noexcept {
228
228
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_CorrelationSample_::fromUnsafe(swiftClosureWrapper);
229
229
  return [swiftClosure = std::move(swiftClosure)](const std::vector<CorrelationSample>& result) mutable -> void {
230
230
  swiftClosure.call(result);
@@ -232,11 +232,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
232
232
  }
233
233
 
234
234
  // pragma MARK: std::shared_ptr<HybridCorrelationTypeModuleSpec>
235
- std::shared_ptr<HybridCorrelationTypeModuleSpec> create_std__shared_ptr_HybridCorrelationTypeModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
235
+ std::shared_ptr<HybridCorrelationTypeModuleSpec> create_std__shared_ptr_HybridCorrelationTypeModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
236
236
  ReactNativeHealthkit::HybridCorrelationTypeModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridCorrelationTypeModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
237
237
  return std::make_shared<margelo::nitro::healthkit::HybridCorrelationTypeModuleSpecSwift>(swiftPart);
238
238
  }
239
- void* _Nonnull get_std__shared_ptr_HybridCorrelationTypeModuleSpec_(std__shared_ptr_HybridCorrelationTypeModuleSpec_ cppType) noexcept {
239
+ void* NON_NULL get_std__shared_ptr_HybridCorrelationTypeModuleSpec_(std__shared_ptr_HybridCorrelationTypeModuleSpec_ cppType) {
240
240
  std::shared_ptr<margelo::nitro::healthkit::HybridCorrelationTypeModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridCorrelationTypeModuleSpecSwift>(cppType);
241
241
  #ifdef NITRO_DEBUG
242
242
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -248,7 +248,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
248
248
  }
249
249
 
250
250
  // pragma MARK: std::function<void(const std::vector<ElectrocardiogramSample>& /* result */)>
251
- Func_void_std__vector_ElectrocardiogramSample_ create_Func_void_std__vector_ElectrocardiogramSample_(void* _Nonnull swiftClosureWrapper) noexcept {
251
+ Func_void_std__vector_ElectrocardiogramSample_ create_Func_void_std__vector_ElectrocardiogramSample_(void* NON_NULL swiftClosureWrapper) noexcept {
252
252
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_ElectrocardiogramSample_::fromUnsafe(swiftClosureWrapper);
253
253
  return [swiftClosure = std::move(swiftClosure)](const std::vector<ElectrocardiogramSample>& result) mutable -> void {
254
254
  swiftClosure.call(result);
@@ -256,7 +256,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
256
256
  }
257
257
 
258
258
  // pragma MARK: std::function<void(const ElectrocardiogramSamplesWithAnchorResponse& /* result */)>
259
- Func_void_ElectrocardiogramSamplesWithAnchorResponse create_Func_void_ElectrocardiogramSamplesWithAnchorResponse(void* _Nonnull swiftClosureWrapper) noexcept {
259
+ Func_void_ElectrocardiogramSamplesWithAnchorResponse create_Func_void_ElectrocardiogramSamplesWithAnchorResponse(void* NON_NULL swiftClosureWrapper) noexcept {
260
260
  auto swiftClosure = ReactNativeHealthkit::Func_void_ElectrocardiogramSamplesWithAnchorResponse::fromUnsafe(swiftClosureWrapper);
261
261
  return [swiftClosure = std::move(swiftClosure)](const ElectrocardiogramSamplesWithAnchorResponse& result) mutable -> void {
262
262
  swiftClosure.call(result);
@@ -264,11 +264,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
264
264
  }
265
265
 
266
266
  // pragma MARK: std::shared_ptr<HybridElectrocardiogramModuleSpec>
267
- std::shared_ptr<HybridElectrocardiogramModuleSpec> create_std__shared_ptr_HybridElectrocardiogramModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
267
+ std::shared_ptr<HybridElectrocardiogramModuleSpec> create_std__shared_ptr_HybridElectrocardiogramModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
268
268
  ReactNativeHealthkit::HybridElectrocardiogramModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridElectrocardiogramModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
269
269
  return std::make_shared<margelo::nitro::healthkit::HybridElectrocardiogramModuleSpecSwift>(swiftPart);
270
270
  }
271
- void* _Nonnull get_std__shared_ptr_HybridElectrocardiogramModuleSpec_(std__shared_ptr_HybridElectrocardiogramModuleSpec_ cppType) noexcept {
271
+ void* NON_NULL get_std__shared_ptr_HybridElectrocardiogramModuleSpec_(std__shared_ptr_HybridElectrocardiogramModuleSpec_ cppType) {
272
272
  std::shared_ptr<margelo::nitro::healthkit::HybridElectrocardiogramModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridElectrocardiogramModuleSpecSwift>(cppType);
273
273
  #ifdef NITRO_DEBUG
274
274
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -280,7 +280,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
280
280
  }
281
281
 
282
282
  // pragma MARK: std::function<void(const std::vector<HeartbeatSeriesSample>& /* result */)>
283
- Func_void_std__vector_HeartbeatSeriesSample_ create_Func_void_std__vector_HeartbeatSeriesSample_(void* _Nonnull swiftClosureWrapper) noexcept {
283
+ Func_void_std__vector_HeartbeatSeriesSample_ create_Func_void_std__vector_HeartbeatSeriesSample_(void* NON_NULL swiftClosureWrapper) noexcept {
284
284
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_HeartbeatSeriesSample_::fromUnsafe(swiftClosureWrapper);
285
285
  return [swiftClosure = std::move(swiftClosure)](const std::vector<HeartbeatSeriesSample>& result) mutable -> void {
286
286
  swiftClosure.call(result);
@@ -288,7 +288,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
288
288
  }
289
289
 
290
290
  // pragma MARK: std::function<void(const HeartbeatSeriesSamplesWithAnchorResponse& /* result */)>
291
- Func_void_HeartbeatSeriesSamplesWithAnchorResponse create_Func_void_HeartbeatSeriesSamplesWithAnchorResponse(void* _Nonnull swiftClosureWrapper) noexcept {
291
+ Func_void_HeartbeatSeriesSamplesWithAnchorResponse create_Func_void_HeartbeatSeriesSamplesWithAnchorResponse(void* NON_NULL swiftClosureWrapper) noexcept {
292
292
  auto swiftClosure = ReactNativeHealthkit::Func_void_HeartbeatSeriesSamplesWithAnchorResponse::fromUnsafe(swiftClosureWrapper);
293
293
  return [swiftClosure = std::move(swiftClosure)](const HeartbeatSeriesSamplesWithAnchorResponse& result) mutable -> void {
294
294
  swiftClosure.call(result);
@@ -296,11 +296,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
296
296
  }
297
297
 
298
298
  // pragma MARK: std::shared_ptr<HybridHeartbeatSeriesModuleSpec>
299
- std::shared_ptr<HybridHeartbeatSeriesModuleSpec> create_std__shared_ptr_HybridHeartbeatSeriesModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
299
+ std::shared_ptr<HybridHeartbeatSeriesModuleSpec> create_std__shared_ptr_HybridHeartbeatSeriesModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
300
300
  ReactNativeHealthkit::HybridHeartbeatSeriesModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridHeartbeatSeriesModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
301
301
  return std::make_shared<margelo::nitro::healthkit::HybridHeartbeatSeriesModuleSpecSwift>(swiftPart);
302
302
  }
303
- void* _Nonnull get_std__shared_ptr_HybridHeartbeatSeriesModuleSpec_(std__shared_ptr_HybridHeartbeatSeriesModuleSpec_ cppType) noexcept {
303
+ void* NON_NULL get_std__shared_ptr_HybridHeartbeatSeriesModuleSpec_(std__shared_ptr_HybridHeartbeatSeriesModuleSpec_ cppType) {
304
304
  std::shared_ptr<margelo::nitro::healthkit::HybridHeartbeatSeriesModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridHeartbeatSeriesModuleSpecSwift>(cppType);
305
305
  #ifdef NITRO_DEBUG
306
306
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -312,7 +312,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
312
312
  }
313
313
 
314
314
  // pragma MARK: std::function<void(const std::vector<QuantitySample>& /* result */)>
315
- Func_void_std__vector_QuantitySample_ create_Func_void_std__vector_QuantitySample_(void* _Nonnull swiftClosureWrapper) noexcept {
315
+ Func_void_std__vector_QuantitySample_ create_Func_void_std__vector_QuantitySample_(void* NON_NULL swiftClosureWrapper) noexcept {
316
316
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_QuantitySample_::fromUnsafe(swiftClosureWrapper);
317
317
  return [swiftClosure = std::move(swiftClosure)](const std::vector<QuantitySample>& result) mutable -> void {
318
318
  swiftClosure.call(result);
@@ -320,7 +320,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
320
320
  }
321
321
 
322
322
  // pragma MARK: std::function<void(const QueryStatisticsResponse& /* result */)>
323
- Func_void_QueryStatisticsResponse create_Func_void_QueryStatisticsResponse(void* _Nonnull swiftClosureWrapper) noexcept {
323
+ Func_void_QueryStatisticsResponse create_Func_void_QueryStatisticsResponse(void* NON_NULL swiftClosureWrapper) noexcept {
324
324
  auto swiftClosure = ReactNativeHealthkit::Func_void_QueryStatisticsResponse::fromUnsafe(swiftClosureWrapper);
325
325
  return [swiftClosure = std::move(swiftClosure)](const QueryStatisticsResponse& result) mutable -> void {
326
326
  swiftClosure.call(result);
@@ -328,7 +328,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
328
328
  }
329
329
 
330
330
  // pragma MARK: std::function<void(const std::vector<QueryStatisticsResponse>& /* result */)>
331
- Func_void_std__vector_QueryStatisticsResponse_ create_Func_void_std__vector_QueryStatisticsResponse_(void* _Nonnull swiftClosureWrapper) noexcept {
331
+ Func_void_std__vector_QueryStatisticsResponse_ create_Func_void_std__vector_QueryStatisticsResponse_(void* NON_NULL swiftClosureWrapper) noexcept {
332
332
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_QueryStatisticsResponse_::fromUnsafe(swiftClosureWrapper);
333
333
  return [swiftClosure = std::move(swiftClosure)](const std::vector<QueryStatisticsResponse>& result) mutable -> void {
334
334
  swiftClosure.call(result);
@@ -336,7 +336,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
336
336
  }
337
337
 
338
338
  // pragma MARK: std::function<void(const QuantitySamplesWithAnchorResponse& /* result */)>
339
- Func_void_QuantitySamplesWithAnchorResponse create_Func_void_QuantitySamplesWithAnchorResponse(void* _Nonnull swiftClosureWrapper) noexcept {
339
+ Func_void_QuantitySamplesWithAnchorResponse create_Func_void_QuantitySamplesWithAnchorResponse(void* NON_NULL swiftClosureWrapper) noexcept {
340
340
  auto swiftClosure = ReactNativeHealthkit::Func_void_QuantitySamplesWithAnchorResponse::fromUnsafe(swiftClosureWrapper);
341
341
  return [swiftClosure = std::move(swiftClosure)](const QuantitySamplesWithAnchorResponse& result) mutable -> void {
342
342
  swiftClosure.call(result);
@@ -344,11 +344,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
344
344
  }
345
345
 
346
346
  // pragma MARK: std::shared_ptr<HybridQuantityTypeModuleSpec>
347
- std::shared_ptr<HybridQuantityTypeModuleSpec> create_std__shared_ptr_HybridQuantityTypeModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
347
+ std::shared_ptr<HybridQuantityTypeModuleSpec> create_std__shared_ptr_HybridQuantityTypeModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
348
348
  ReactNativeHealthkit::HybridQuantityTypeModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridQuantityTypeModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
349
349
  return std::make_shared<margelo::nitro::healthkit::HybridQuantityTypeModuleSpecSwift>(swiftPart);
350
350
  }
351
- void* _Nonnull get_std__shared_ptr_HybridQuantityTypeModuleSpec_(std__shared_ptr_HybridQuantityTypeModuleSpec_ cppType) noexcept {
351
+ void* NON_NULL get_std__shared_ptr_HybridQuantityTypeModuleSpec_(std__shared_ptr_HybridQuantityTypeModuleSpec_ cppType) {
352
352
  std::shared_ptr<margelo::nitro::healthkit::HybridQuantityTypeModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridQuantityTypeModuleSpecSwift>(cppType);
353
353
  #ifdef NITRO_DEBUG
354
354
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -360,7 +360,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
360
360
  }
361
361
 
362
362
  // pragma MARK: std::function<void(const std::vector<StateOfMindSample>& /* result */)>
363
- Func_void_std__vector_StateOfMindSample_ create_Func_void_std__vector_StateOfMindSample_(void* _Nonnull swiftClosureWrapper) noexcept {
363
+ Func_void_std__vector_StateOfMindSample_ create_Func_void_std__vector_StateOfMindSample_(void* NON_NULL swiftClosureWrapper) noexcept {
364
364
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_StateOfMindSample_::fromUnsafe(swiftClosureWrapper);
365
365
  return [swiftClosure = std::move(swiftClosure)](const std::vector<StateOfMindSample>& result) mutable -> void {
366
366
  swiftClosure.call(result);
@@ -368,11 +368,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
368
368
  }
369
369
 
370
370
  // pragma MARK: std::shared_ptr<HybridStateOfMindModuleSpec>
371
- std::shared_ptr<HybridStateOfMindModuleSpec> create_std__shared_ptr_HybridStateOfMindModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
371
+ std::shared_ptr<HybridStateOfMindModuleSpec> create_std__shared_ptr_HybridStateOfMindModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
372
372
  ReactNativeHealthkit::HybridStateOfMindModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridStateOfMindModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
373
373
  return std::make_shared<margelo::nitro::healthkit::HybridStateOfMindModuleSpecSwift>(swiftPart);
374
374
  }
375
- void* _Nonnull get_std__shared_ptr_HybridStateOfMindModuleSpec_(std__shared_ptr_HybridStateOfMindModuleSpec_ cppType) noexcept {
375
+ void* NON_NULL get_std__shared_ptr_HybridStateOfMindModuleSpec_(std__shared_ptr_HybridStateOfMindModuleSpec_ cppType) {
376
376
  std::shared_ptr<margelo::nitro::healthkit::HybridStateOfMindModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridStateOfMindModuleSpecSwift>(cppType);
377
377
  #ifdef NITRO_DEBUG
378
378
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -384,7 +384,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
384
384
  }
385
385
 
386
386
  // pragma MARK: std::function<void(const std::optional<WorkoutPlan>& /* result */)>
387
- Func_void_std__optional_WorkoutPlan_ create_Func_void_std__optional_WorkoutPlan_(void* _Nonnull swiftClosureWrapper) noexcept {
387
+ Func_void_std__optional_WorkoutPlan_ create_Func_void_std__optional_WorkoutPlan_(void* NON_NULL swiftClosureWrapper) noexcept {
388
388
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__optional_WorkoutPlan_::fromUnsafe(swiftClosureWrapper);
389
389
  return [swiftClosure = std::move(swiftClosure)](const std::optional<WorkoutPlan>& result) mutable -> void {
390
390
  swiftClosure.call(result);
@@ -392,7 +392,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
392
392
  }
393
393
 
394
394
  // pragma MARK: std::function<void(const std::vector<WorkoutRoute>& /* result */)>
395
- Func_void_std__vector_WorkoutRoute_ create_Func_void_std__vector_WorkoutRoute_(void* _Nonnull swiftClosureWrapper) noexcept {
395
+ Func_void_std__vector_WorkoutRoute_ create_Func_void_std__vector_WorkoutRoute_(void* NON_NULL swiftClosureWrapper) noexcept {
396
396
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_WorkoutRoute_::fromUnsafe(swiftClosureWrapper);
397
397
  return [swiftClosure = std::move(swiftClosure)](const std::vector<WorkoutRoute>& result) mutable -> void {
398
398
  swiftClosure.call(result);
@@ -400,7 +400,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
400
400
  }
401
401
 
402
402
  // pragma MARK: std::function<void(const std::optional<QueryStatisticsResponse>& /* result */)>
403
- Func_void_std__optional_QueryStatisticsResponse_ create_Func_void_std__optional_QueryStatisticsResponse_(void* _Nonnull swiftClosureWrapper) noexcept {
403
+ Func_void_std__optional_QueryStatisticsResponse_ create_Func_void_std__optional_QueryStatisticsResponse_(void* NON_NULL swiftClosureWrapper) noexcept {
404
404
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__optional_QueryStatisticsResponse_::fromUnsafe(swiftClosureWrapper);
405
405
  return [swiftClosure = std::move(swiftClosure)](const std::optional<QueryStatisticsResponse>& result) mutable -> void {
406
406
  swiftClosure.call(result);
@@ -408,7 +408,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
408
408
  }
409
409
 
410
410
  // pragma MARK: std::function<void(const std::unordered_map<std::string, QueryStatisticsResponse>& /* result */)>
411
- Func_void_std__unordered_map_std__string__QueryStatisticsResponse_ create_Func_void_std__unordered_map_std__string__QueryStatisticsResponse_(void* _Nonnull swiftClosureWrapper) noexcept {
411
+ Func_void_std__unordered_map_std__string__QueryStatisticsResponse_ create_Func_void_std__unordered_map_std__string__QueryStatisticsResponse_(void* NON_NULL swiftClosureWrapper) noexcept {
412
412
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__unordered_map_std__string__QueryStatisticsResponse_::fromUnsafe(swiftClosureWrapper);
413
413
  return [swiftClosure = std::move(swiftClosure)](const std::unordered_map<std::string, QueryStatisticsResponse>& result) mutable -> void {
414
414
  swiftClosure.call(result);
@@ -416,7 +416,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
416
416
  }
417
417
 
418
418
  // pragma MARK: std::function<void(const std::shared_ptr<HybridWorkoutProxySpec>& /* result */)>
419
- Func_void_std__shared_ptr_HybridWorkoutProxySpec_ create_Func_void_std__shared_ptr_HybridWorkoutProxySpec_(void* _Nonnull swiftClosureWrapper) noexcept {
419
+ Func_void_std__shared_ptr_HybridWorkoutProxySpec_ create_Func_void_std__shared_ptr_HybridWorkoutProxySpec_(void* NON_NULL swiftClosureWrapper) noexcept {
420
420
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__shared_ptr_HybridWorkoutProxySpec_::fromUnsafe(swiftClosureWrapper);
421
421
  return [swiftClosure = std::move(swiftClosure)](const std::shared_ptr<HybridWorkoutProxySpec>& result) mutable -> void {
422
422
  swiftClosure.call(result);
@@ -424,7 +424,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
424
424
  }
425
425
 
426
426
  // pragma MARK: std::function<void(const QueryWorkoutSamplesWithAnchorResponse& /* result */)>
427
- Func_void_QueryWorkoutSamplesWithAnchorResponse create_Func_void_QueryWorkoutSamplesWithAnchorResponse(void* _Nonnull swiftClosureWrapper) noexcept {
427
+ Func_void_QueryWorkoutSamplesWithAnchorResponse create_Func_void_QueryWorkoutSamplesWithAnchorResponse(void* NON_NULL swiftClosureWrapper) noexcept {
428
428
  auto swiftClosure = ReactNativeHealthkit::Func_void_QueryWorkoutSamplesWithAnchorResponse::fromUnsafe(swiftClosureWrapper);
429
429
  return [swiftClosure = std::move(swiftClosure)](const QueryWorkoutSamplesWithAnchorResponse& result) mutable -> void {
430
430
  swiftClosure.call(result);
@@ -432,7 +432,7 @@ namespace margelo::nitro::healthkit::bridge::swift {
432
432
  }
433
433
 
434
434
  // pragma MARK: std::function<void(const std::vector<std::shared_ptr<HybridWorkoutProxySpec>>& /* result */)>
435
- Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__ create_Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__(void* _Nonnull swiftClosureWrapper) noexcept {
435
+ Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__ create_Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__(void* NON_NULL swiftClosureWrapper) noexcept {
436
436
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__::fromUnsafe(swiftClosureWrapper);
437
437
  return [swiftClosure = std::move(swiftClosure)](const std::vector<std::shared_ptr<HybridWorkoutProxySpec>>& result) mutable -> void {
438
438
  swiftClosure.call(result);
@@ -440,11 +440,11 @@ namespace margelo::nitro::healthkit::bridge::swift {
440
440
  }
441
441
 
442
442
  // pragma MARK: std::shared_ptr<HybridWorkoutsModuleSpec>
443
- std::shared_ptr<HybridWorkoutsModuleSpec> create_std__shared_ptr_HybridWorkoutsModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
443
+ std::shared_ptr<HybridWorkoutsModuleSpec> create_std__shared_ptr_HybridWorkoutsModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
444
444
  ReactNativeHealthkit::HybridWorkoutsModuleSpec_cxx swiftPart = ReactNativeHealthkit::HybridWorkoutsModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
445
445
  return std::make_shared<margelo::nitro::healthkit::HybridWorkoutsModuleSpecSwift>(swiftPart);
446
446
  }
447
- void* _Nonnull get_std__shared_ptr_HybridWorkoutsModuleSpec_(std__shared_ptr_HybridWorkoutsModuleSpec_ cppType) noexcept {
447
+ void* NON_NULL get_std__shared_ptr_HybridWorkoutsModuleSpec_(std__shared_ptr_HybridWorkoutsModuleSpec_ cppType) {
448
448
  std::shared_ptr<margelo::nitro::healthkit::HybridWorkoutsModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridWorkoutsModuleSpecSwift>(cppType);
449
449
  #ifdef NITRO_DEBUG
450
450
  if (swiftWrapper == nullptr) [[unlikely]] {