peachsim 0.1.2306 → 0.1.2363

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 (917) hide show
  1. package/README.md +5 -0
  2. package/cli/cdp.ts +81 -0
  3. package/cli/cloud-box-artifact.ts +6 -1
  4. package/cli/cloud-client.ts +19 -0
  5. package/cli/command-registry.ts +1 -0
  6. package/cli/commands/box/bundle-plane.ts +28 -4
  7. package/cli/commands/box.ts +13 -8
  8. package/cli/commands/canvas.ts +752 -0
  9. package/cli/commands/cleanup.ts +2 -0
  10. package/cli/commands/control.ts +22 -6
  11. package/cli/commands/cpu-profile.ts +1 -80
  12. package/cli/commands/debug.ts +73 -5
  13. package/cli/commands/flow.ts +1 -1
  14. package/cli/commands/inspect/actions.ts +3 -1
  15. package/cli/commands/inspect/core.ts +18 -5
  16. package/cli/commands/inspect/settling.ts +20 -19
  17. package/cli/commands/inspect.ts +24 -14
  18. package/cli/commands/map.ts +31 -8
  19. package/cli/commands/platform.ts +89 -7
  20. package/cli/commands/serve.ts +66 -4
  21. package/cli/commands/shell-url.ts +25 -5
  22. package/cli/commands/task-trace.ts +234 -0
  23. package/cli/dev-build-freshness.ts +151 -49
  24. package/cli/drivers/linux-cocoapods.lock.json +303 -0
  25. package/cli/drivers/linux-cocoapods.ts +99 -0
  26. package/cli/drivers/playwright.ts +1 -5
  27. package/cli/internal-child-contract.ts +1 -0
  28. package/cli/internal-child.ts +6 -0
  29. package/cli/main.ts +6 -0
  30. package/cli/outbound-endpoints.ts +35 -2
  31. package/cli/output-redaction.ts +1 -1
  32. package/cli/remote-metro.ts +109 -0
  33. package/cli/task-trace.ts +166 -0
  34. package/cli/taskTraceContract.ts +53 -0
  35. package/cli/ws-bridge.ts +11 -4
  36. package/detox/gestures.ts +4 -4
  37. package/detox/index.ts +10 -3
  38. package/dist-lib/agent-daemon-client.cjs +1 -1
  39. package/dist-lib/agent-events.cjs +1 -1
  40. package/dist-lib/attached-projects.cjs +1 -1
  41. package/dist-lib/auth/shared-session.cjs +1 -1
  42. package/dist-lib/backend-origin.cjs +1 -1
  43. package/dist-lib/beta.cjs +1 -1
  44. package/dist-lib/beta.mjs +1 -1
  45. package/dist-lib/bridge-constants.cjs +1 -1
  46. package/dist-lib/bridge-contract-input.cjs +1 -1
  47. package/dist-lib/bridge-contract-input.mjs +1 -1
  48. package/dist-lib/bridge-contract.cjs +1 -1
  49. package/dist-lib/bridge-contract.mjs +1 -1
  50. package/dist-lib/bundle-channel.cjs +15093 -9243
  51. package/dist-lib/capture-contract.cjs +1 -1
  52. package/dist-lib/capture-contract.mjs +1 -1
  53. package/dist-lib/cloud-contract.cjs +1 -1
  54. package/dist-lib/cloud-contract.mjs +1 -1
  55. package/dist-lib/cloud-test-args.cjs +1 -1
  56. package/dist-lib/cloud-test-args.mjs +1 -1
  57. package/dist-lib/cloud.cjs +1 -1
  58. package/dist-lib/cloud.mjs +1 -1
  59. package/dist-lib/config.cjs +2 -2
  60. package/dist-lib/config.mjs +2 -2
  61. package/dist-lib/detox/index.cjs +79 -55
  62. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  63. package/dist-lib/expo-swift-bundle.cjs +12391 -7202
  64. package/dist-lib/expo-swift-metadata.cjs +3 -1
  65. package/dist-lib/expo-swift-metadata.mjs +3 -1
  66. package/dist-lib/home-paths.cjs +1 -1
  67. package/dist-lib/host/bridge-host.cjs +12497 -8637
  68. package/dist-lib/host/fetch-proxy-handler.cjs +431 -206
  69. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  70. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  71. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  72. package/dist-lib/host/websocket-proxy.cjs +17 -3
  73. package/dist-lib/index.cjs +2187 -805
  74. package/dist-lib/jump-to-source-babel.cjs +1 -1
  75. package/dist-lib/jump-to-source-native.cjs +1 -1
  76. package/dist-lib/kotlin-host.cjs +14 -12
  77. package/dist-lib/menu.cjs +1 -1
  78. package/dist-lib/menu.mjs +1 -1
  79. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  80. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  81. package/dist-lib/metro-production-bundle.cjs +1 -1
  82. package/dist-lib/metro-production-bundle.mjs +1 -1
  83. package/dist-lib/metro.cjs +2176 -791
  84. package/dist-lib/native-app-identity-project.cjs +1372 -336
  85. package/dist-lib/native-app-identity-project.mjs +1480 -437
  86. package/dist-lib/native-app-identity.cjs +11 -1
  87. package/dist-lib/native-app-identity.mjs +11 -1
  88. package/dist-lib/native-firebase-metadata.cjs +1 -1
  89. package/dist-lib/native-firebase-metadata.mjs +1 -1
  90. package/dist-lib/pdfium-raster.cjs +1 -1
  91. package/dist-lib/pdfium-raster.mjs +1 -1
  92. package/dist-lib/plist.cjs +1 -1
  93. package/dist-lib/plist.mjs +1 -1
  94. package/dist-lib/profiles.cjs +1 -1
  95. package/dist-lib/public-brand.cjs +1 -1
  96. package/dist-lib/public-origins-lib-esm.json +33 -26
  97. package/dist-lib/public-origins-lib.json +219 -124
  98. package/dist-lib/react-native-host-modules.cjs +26 -2
  99. package/dist-lib/react-native-host-modules.mjs +24 -2
  100. package/dist-lib/reap-browser.cjs +2 -2
  101. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  102. package/dist-lib/sdk.cjs +42 -28
  103. package/dist-lib/sdk.mjs +42 -28
  104. package/dist-lib/skills.cjs +13910 -9670
  105. package/dist-lib/swift-compile.cjs +2066 -1691
  106. package/dist-lib/swift-compile.mjs +1942 -1566
  107. package/dist-lib/swift-package.cjs +18 -10
  108. package/dist-lib/swift-package.mjs +18 -10
  109. package/dist-lib/swift-submit.cjs +2 -2
  110. package/dist-lib/swift-submit.mjs +2 -2
  111. package/dist-lib/swift-toolchain.cjs +20 -1
  112. package/dist-lib/swift.cjs +1 -1
  113. package/dist-lib/vite-swift.cjs +5344 -3572
  114. package/dist-lib/vite.cjs +2890 -2523
  115. package/dist-lib/worklet-executable.cjs +36 -10
  116. package/dist-lib/worklet-executable.mjs +36 -10
  117. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +2 -1
  118. package/dist-types/packages/peach-engine/src/cli-companion.d.ts +0 -1
  119. package/dist-types/packages/peach-engine/src/engine/android-stretch-effect.d.ts +0 -8
  120. package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +3 -0
  121. package/dist-types/packages/peach-engine/src/engine/animated.d.ts +2 -0
  122. package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +2 -0
  123. package/dist-types/packages/peach-engine/src/engine/audioContract.d.ts +14 -0
  124. package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +7 -4
  125. package/dist-types/packages/peach-engine/src/engine/core-layout-program.d.ts +19 -0
  126. package/dist-types/packages/peach-engine/src/engine/core-layout-transition.d.ts +31 -0
  127. package/dist-types/packages/peach-engine/src/engine/debug-channels.d.ts +86 -0
  128. package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +1 -0
  129. package/dist-types/packages/peach-engine/src/engine/generated/node-kind-contract.d.ts +3 -0
  130. package/dist-types/packages/peach-engine/src/engine/glass-material.d.ts +3 -2
  131. package/dist-types/packages/peach-engine/src/engine/host-composite.d.ts +1 -1
  132. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +5 -2
  133. package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +0 -1
  134. package/dist-types/packages/peach-engine/src/engine/layout-animation-owner.d.ts +60 -0
  135. package/dist-types/packages/peach-engine/src/engine/liquid-glass-rect.d.ts +1 -0
  136. package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +8 -8
  137. package/dist-types/packages/peach-engine/src/engine/lottie-runtime.d.ts +4 -6
  138. package/dist-types/packages/peach-engine/src/engine/lottie-types.d.ts +14 -28
  139. package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +5 -0
  140. package/dist-types/packages/peach-engine/src/engine/native-animation-graph.d.ts +8 -10
  141. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +8 -1
  142. package/dist-types/packages/peach-engine/src/engine/native-node-drive.d.ts +7 -0
  143. package/dist-types/packages/peach-engine/src/engine/native-node-geometry.d.ts +34 -0
  144. package/dist-types/packages/peach-engine/src/engine/native-node-record.d.ts +62 -0
  145. package/dist-types/packages/peach-engine/src/engine/native-node-style-input.d.ts +6 -0
  146. package/dist-types/packages/peach-engine/src/engine/native-paint.d.ts +95 -0
  147. package/dist-types/packages/peach-engine/src/engine/{scroll-range.d.ts → native-scroll-geometry.d.ts} +5 -0
  148. package/dist-types/packages/peach-engine/src/engine/{scroll-platform.d.ts → native-scroll-personality.d.ts} +58 -72
  149. package/dist-types/packages/peach-engine/src/engine/native-scroll-tracker.d.ts +40 -0
  150. package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +161 -0
  151. package/dist-types/packages/peach-engine/src/engine/native-text-style.d.ts +56 -0
  152. package/dist-types/packages/peach-engine/src/engine/native-trace.d.ts +18 -0
  153. package/dist-types/packages/peach-engine/src/engine/nativePaintContract.d.ts +68 -0
  154. package/dist-types/packages/peach-engine/src/engine/node.d.ts +53 -112
  155. package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -2
  156. package/dist-types/packages/peach-engine/src/engine/portals.d.ts +20 -0
  157. package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +1 -0
  158. package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +2 -9
  159. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +201 -66
  160. package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +10 -3
  161. package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +5 -11
  162. package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +8 -1
  163. package/dist-types/packages/peach-engine/src/engine/style-schema.d.ts +296 -0
  164. package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +1 -0
  165. package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +2 -2
  166. package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +1 -1
  167. package/dist-types/packages/peach-engine/src/engine/text-paint-receipt.d.ts +2 -3
  168. package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +4 -1
  169. package/dist-types/packages/peach-engine/src/engine/types.d.ts +18 -26
  170. package/dist-types/packages/peach-engine/src/engine/visible-frame.d.ts +1 -2
  171. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +4 -2
  172. package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +40 -2
  173. package/dist-types/packages/peach-engine/src/ios/aux-home-scene.d.ts +1 -1
  174. package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -0
  175. package/dist-types/packages/peach-engine/src/observability/types.d.ts +1 -0
  176. package/dist-types/packages/peach-engine/src/permissions/system-permission-types.d.ts +2 -3
  177. package/dist-types/packages/peach-engine/src/platform/android-back-panel.d.ts +15 -55
  178. package/dist-types/packages/peach-engine/src/platform/personality.d.ts +110 -48
  179. package/dist-types/packages/peach-engine/src/react-native/gesture-touch-metadata.d.ts +14 -0
  180. package/dist-types/packages/peach-engine/src/react-native/layout-animation.d.ts +1 -0
  181. package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +1 -0
  182. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +9 -3
  183. package/dist-types/packages/peach-engine/src/render-worker/accessibilityHostContract.d.ts +65 -0
  184. package/dist-types/packages/peach-engine/src/render-worker/aux-surface-types.d.ts +33 -1
  185. package/dist-types/packages/peach-engine/src/render-worker/canvaskit-worker-init.d.ts +1 -1
  186. package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts +10 -0
  187. package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +5 -1
  188. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +81 -9
  189. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-claims.d.ts +116 -0
  190. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-fields.d.ts +57 -0
  191. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-tree.d.ts +100 -0
  192. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-frame-layers.d.ts +42 -0
  193. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-layers.d.ts +49 -0
  194. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/render-tree.d.ts +1 -0
  195. package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/transition-program.d.ts +65 -0
  196. package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +17 -7
  197. package/dist-types/packages/peach-engine/src/render-worker/gesture-seam-protocol.d.ts +8 -1
  198. package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +1 -0
  199. package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
  200. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +32 -2
  201. package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +35 -3
  202. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +27 -3
  203. package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +4 -3
  204. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +14 -12
  205. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +23 -3
  206. package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -2
  207. package/dist-types/packages/peach-engine/src/render-worker/text-inputContract.d.ts +6 -0
  208. package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +9 -0
  209. package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +7 -2
  210. package/dist-types/packages/peach-engine/src/render-worker/webview-capture-protocol.d.ts +1 -1
  211. package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +4 -6
  212. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +8 -13
  213. package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +9 -24
  214. package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +1 -0
  215. package/dist-types/packages/peach-engine/src/settings/devices.d.ts +3 -0
  216. package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +1 -0
  217. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +33 -1
  218. package/dist-types/packages/peach-globals/src/imagePickerBridgeContract.d.ts +0 -1
  219. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  220. package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +7 -0
  221. package/dist-types/packages/peach-globals/src/nativeSurfaceContract.d.ts +1 -0
  222. package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -0
  223. package/dist-types/packages/peach-globals/src/performanceBridgeContract.d.ts +3 -1
  224. package/dist-types/packages/peach-globals/src/secure-item-store.d.ts +2 -1
  225. package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +11 -0
  226. package/dist-types/packages/peach-globals/src/timelineBridgeContract.d.ts +2 -1
  227. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +65 -0
  228. package/dist-types/packages/peach-kit/src/capabilities.d.ts +24 -1
  229. package/dist-types/packages/peach-kit/src/internal.d.ts +2 -1
  230. package/dist-types/packages/peach-kit/src/runtime.d.ts +2 -2
  231. package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +29 -4
  232. package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
  233. package/dist-types/packages/peach-kit/src/ui/{popover-placement.d.ts → native-popover.d.ts} +13 -8
  234. package/dist-types/packages/peach-kit/src/ui/native-tab-selection.d.ts +39 -0
  235. package/dist-types/packages/peach-kit/src/ui/presentationContract.d.ts +21 -0
  236. package/dist-types/packages/peach-kit/src/ui/swift-layout-contract.d.ts +33 -0
  237. package/java-platform/licenses/android.txt +4 -0
  238. package/java-platform/licenses/jzlib.txt +28 -0
  239. package/java-platform/licenses/openjdk.txt +11 -2
  240. package/kotlin/README.md +5 -2
  241. package/kotlin/fork/NOTICE +7 -1
  242. package/kotlin/sdk.tar.gz +0 -0
  243. package/kotlin/toolchain.json +9 -9
  244. package/node-runtime.d.json.ts +4 -0
  245. package/node-runtime.json +1 -0
  246. package/package.json +4 -1
  247. package/runtime-companion.json +1 -1
  248. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h +109 -0
  249. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABGroup.h +41 -0
  250. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABMultiValue.h +56 -0
  251. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABPerson.h +208 -0
  252. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABRecord.h +60 -0
  253. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABSource.h +49 -0
  254. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBook.h +53 -0
  255. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBookDefines.h +24 -0
  256. package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Modules/module.modulemap +5 -0
  257. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap +13 -0
  258. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.apinotes +95 -0
  259. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h +90 -0
  260. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLAllComputeDevices.h +30 -0
  261. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLArrayBatchProvider.h +33 -0
  262. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLBatchProvider.h +28 -0
  263. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCPUComputeDevice.h +23 -0
  264. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputeDeviceProtocol.h +26 -0
  265. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlan.h +106 -0
  266. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanCost.h +29 -0
  267. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanDeviceUsage.h +29 -0
  268. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomLayer.h +79 -0
  269. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomModel.h +53 -0
  270. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryConstraint.h +29 -0
  271. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryFeatureProvider.h +39 -0
  272. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLExport.h +13 -0
  273. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureDescription.h +66 -0
  274. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h +27 -0
  275. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureType.h +44 -0
  276. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue+MLImageConversion.h +96 -0
  277. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue.h +92 -0
  278. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLGPUComputeDevice.h +28 -0
  279. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageConstraint.h +40 -0
  280. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSize.h +22 -0
  281. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraint.h +30 -0
  282. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraintType.h +19 -0
  283. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLKey.h +35 -0
  284. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMetricKey.h +37 -0
  285. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLComputeDevice.h +30 -0
  286. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLModelCompilation.h +62 -0
  287. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLState.h +106 -0
  288. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h +130 -0
  289. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelAsset.h +121 -0
  290. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h +70 -0
  291. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h +72 -0
  292. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h +97 -0
  293. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelDescription.h +83 -0
  294. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelError.h +114 -0
  295. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelMetadataKeys.h +31 -0
  296. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h +70 -0
  297. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h +31 -0
  298. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h +35 -0
  299. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h +31 -0
  300. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h +31 -0
  301. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h +31 -0
  302. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h +36 -0
  303. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h +36 -0
  304. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h +34 -0
  305. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h +33 -0
  306. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h +38 -0
  307. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h +26 -0
  308. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h +26 -0
  309. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArray.h +316 -0
  310. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayConstraint.h +34 -0
  311. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraint.h +28 -0
  312. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraintType.h +19 -0
  313. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNeuralEngineComputeDevice.h +26 -0
  314. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNumericConstraint.h +31 -0
  315. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h +45 -0
  316. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterDescription.h +33 -0
  317. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterKey.h +85 -0
  318. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLPredictionOptions.h +94 -0
  319. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h +18 -0
  320. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequence.h +38 -0
  321. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequenceConstraint.h +30 -0
  322. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSpecializationStrategy.h +17 -0
  323. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLState.h +64 -0
  324. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLStateConstraint.h +30 -0
  325. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLTask.h +56 -0
  326. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateContext.h +41 -0
  327. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressEvent.h +25 -0
  328. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressHandlers.h +34 -0
  329. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateTask.h +62 -0
  330. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLWritable.h +22 -0
  331. package/sdk/ios/System/Library/Frameworks/CoreML.framework/Modules/module.modulemap +6 -0
  332. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBuffer.h +1 -1
  333. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBufferCache.h +1 -1
  334. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h +1 -1
  335. package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h +2 -2
  336. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h +4 -4
  337. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKBaseEffect.h +159 -0
  338. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectProperty.h +46 -0
  339. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyFog.h +58 -0
  340. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyLight.h +83 -0
  341. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyMaterial.h +36 -0
  342. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTexture.h +62 -0
  343. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTransform.h +45 -0
  344. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffects.h +21 -0
  345. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMath.h +19 -0
  346. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h +167 -0
  347. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathUtils.h +48 -0
  348. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix3.h +535 -0
  349. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix4.h +1012 -0
  350. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrixStack.h +130 -0
  351. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKModel.h +227 -0
  352. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKNamedEffect.h +14 -0
  353. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKQuaternion.h +340 -0
  354. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKReflectionMapEffect.h +143 -0
  355. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKSkyboxEffect.h +117 -0
  356. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKTextureLoader.h +357 -0
  357. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector2.h +483 -0
  358. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector3.h +307 -0
  359. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector4.h +587 -0
  360. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKView.h +129 -0
  361. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKViewController.h +102 -0
  362. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes +5 -0
  363. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.h +21 -0
  364. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKitBase.h +30 -0
  365. package/sdk/ios/System/Library/Frameworks/GLKit.framework/Modules/module.modulemap +6 -0
  366. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h +35 -0
  367. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h +134 -0
  368. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h +48 -0
  369. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h +56 -0
  370. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h +88 -0
  371. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h +68 -0
  372. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h +55 -0
  373. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h +56 -0
  374. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h +134 -0
  375. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h +57 -0
  376. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h +31 -0
  377. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h +76 -0
  378. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h +124 -0
  379. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h +43 -0
  380. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h +35 -0
  381. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h +60 -0
  382. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h +30 -0
  383. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h +94 -0
  384. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h +22 -0
  385. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKError.h +95 -0
  386. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h +52 -0
  387. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h +68 -0
  388. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h +33 -0
  389. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h +83 -0
  390. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h +130 -0
  391. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h +54 -0
  392. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h +40 -0
  393. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h +47 -0
  394. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h +28 -0
  395. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h +31 -0
  396. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h +41 -0
  397. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h +34 -0
  398. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h +37 -0
  399. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h +33 -0
  400. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h +28 -0
  401. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h +23 -0
  402. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h +63 -0
  403. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h +170 -0
  404. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h +30 -0
  405. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass_Types.h +25 -0
  406. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h +44 -0
  407. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h +72 -0
  408. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h +64 -0
  409. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h +208 -0
  410. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h +108 -0
  411. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h +147 -0
  412. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h +55 -0
  413. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h +41 -0
  414. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h +29 -0
  415. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h +59 -0
  416. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h +37 -0
  417. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h +255 -0
  418. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h +171 -0
  419. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h +50 -0
  420. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h +49 -0
  421. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h +59 -0
  422. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h +60 -0
  423. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h +39 -0
  424. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h +52 -0
  425. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h +81 -0
  426. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h +42 -0
  427. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h +37 -0
  428. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h +36 -0
  429. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h +43 -0
  430. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h +34 -0
  431. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h +71 -0
  432. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.apinotes +68 -0
  433. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h +187 -0
  434. package/sdk/ios/System/Library/Frameworks/PassKit.framework/Modules/module.modulemap +8 -0
  435. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +8 -8
  436. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h +48 -0
  437. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h +1 -1
  438. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +2 -2
  439. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +1 -1
  440. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h +1 -1
  441. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +1 -1
  442. package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h +25 -12
  443. package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +1 -0
  444. package/sdk/ios/System/Library/Frameworks/Security.framework/Modules/module.modulemap +23 -2
  445. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAdaptiveImageGlyph.h +1 -1
  446. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +1 -231
  447. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h +1 -1
  448. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h +3 -3
  449. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +1 -375
  450. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +1 -545
  451. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h +1 -82
  452. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +1 -74
  453. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h +3 -3
  454. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +1 -210
  455. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h +2 -2
  456. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h +2 -2
  457. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutFragment.h +1 -1
  458. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h +2 -2
  459. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLineFragment.h +1 -1
  460. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +1 -194
  461. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextListElement.h +1 -1
  462. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextRange.h +2 -2
  463. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelection.h +1 -1
  464. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelectionNavigation.h +2 -2
  465. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +1 -196
  466. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextTable.h +3 -3
  467. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportLayoutController.h +2 -2
  468. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportRenderingSurface.h +2 -2
  469. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h +1 -1
  470. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h +2 -2
  471. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +0 -87
  472. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h +2 -2
  473. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h +1 -1
  474. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h +1 -1
  475. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h +1 -1
  476. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h +2 -2
  477. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h +1 -1
  478. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h +1 -1
  479. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h +2 -2
  480. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h +2 -2
  481. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h +3 -6
  482. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIArrangementViewController.h +1 -1
  483. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h +1 -1
  484. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundExtensionView.h +1 -1
  485. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBandSelectionInteraction.h +1 -1
  486. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h +1 -1
  487. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h +2 -2
  488. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelection.h +1 -1
  489. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionMultiDate.h +2 -2
  490. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionSingleDate.h +2 -2
  491. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionWeekOfYear.h +2 -2
  492. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h +2 -2
  493. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICanvasFeedbackGenerator.h +1 -1
  494. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h +2 -2
  495. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h +11 -11
  496. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h +15 -15
  497. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h +1 -1
  498. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h +2 -2
  499. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h +1 -1
  500. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewListCell.h +1 -1
  501. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h +1 -1
  502. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewUpdateItem.h +1 -1
  503. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h +2 -2
  504. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorPickerViewController.h +2 -2
  505. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorWell.h +1 -1
  506. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +1 -1
  507. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h +1 -1
  508. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableView.h +1 -1
  509. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +3 -3
  510. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuSystem.h +1 -1
  511. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h +1 -1
  512. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h +1 -1
  513. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h +1 -1
  514. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +1 -1
  515. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +1 -1
  516. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +2 -2
  517. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h +1 -1
  518. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h +1 -1
  519. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h +3 -3
  520. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h +2 -2
  521. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h +2 -2
  522. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h +1 -1
  523. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h +1 -1
  524. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentProperties.h +1 -1
  525. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentViewController.h +1 -1
  526. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h +2 -2
  527. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h +3 -3
  528. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h +1 -1
  529. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h +2 -2
  530. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h +2 -2
  531. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h +2 -2
  532. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttribution.h +1 -1
  533. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttributionView.h +1 -1
  534. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h +1 -1
  535. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindInteraction.h +1 -1
  536. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +1 -1
  537. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h +1 -1
  538. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h +2 -2
  539. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h +2 -2
  540. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h +1 -1
  541. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h +1 -1
  542. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +1 -86
  543. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +1 -198
  544. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h +2 -2
  545. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h +2 -2
  546. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h +3 -3
  547. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h +3 -3
  548. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h +1 -1
  549. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h +1 -1
  550. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHinge.h +1 -1
  551. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHingeInteraction.h +2 -2
  552. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h +1 -1
  553. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h +2 -2
  554. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputSuggestion.h +1 -1
  555. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h +1 -1
  556. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h +1 -1
  557. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h +1 -1
  558. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKey.h +1 -1
  559. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyboardLayoutGuide.h +1 -1
  560. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +1 -48
  561. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h +2 -2
  562. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILetterformAwareAdjusting.h +1 -1
  563. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h +2 -2
  564. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h +1 -1
  565. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h +1 -1
  566. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h +1 -1
  567. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMailConversationContext.h +1 -1
  568. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMainMenuSystem.h +1 -1
  569. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h +1 -1
  570. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h +1 -1
  571. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuDisplayPreferences.h +1 -1
  572. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +1 -1
  573. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuLeaf.h +1 -1
  574. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h +1 -1
  575. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMessageConversationContext.h +1 -1
  576. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h +3 -6
  577. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h +1 -1
  578. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h +1 -1
  579. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h +1 -1
  580. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h +1 -1
  581. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControlProgress.h +4 -4
  582. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h +2 -2
  583. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h +3 -3
  584. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPhotoSearchSuggestion.h +1 -1
  585. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +3 -3
  586. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerAccessory.h +1 -1
  587. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerInteraction.h +3 -3
  588. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerLockState.h +1 -1
  589. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerRegion.h +1 -1
  590. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +1 -1
  591. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h +2 -2
  592. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h +2 -2
  593. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h +2 -2
  594. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationControllerSourceItem.h +1 -1
  595. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h +2 -2
  596. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h +1 -1
  597. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h +1 -1
  598. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h +2 -2
  599. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h +4 -4
  600. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h +2 -2
  601. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h +1 -1
  602. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h +1 -1
  603. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintServiceExtension.h +2 -2
  604. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h +1 -1
  605. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h +2 -2
  606. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h +1 -1
  607. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h +1 -1
  608. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +1 -1
  609. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessory.h +1 -1
  610. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessoryRegistration.h +1 -1
  611. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h +1 -1
  612. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneClosureConfirmation.h +1 -1
  613. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h +1 -1
  614. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h +1 -1
  615. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h +1 -1
  616. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSizeRestrictions.h +1 -1
  617. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSystemProtectionManager.h +1 -1
  618. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneWindowingBehaviors.h +1 -1
  619. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h +1 -1
  620. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h +2 -2
  621. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScribbleInteraction.h +2 -2
  622. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollEdgeElementContainerInteraction.h +1 -1
  623. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
  624. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h +2 -2
  625. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h +1 -1
  626. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h +2 -2
  627. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h +2 -2
  628. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchSuggestion.h +1 -1
  629. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h +2 -2
  630. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h +3 -3
  631. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISmartReplySuggestion.h +1 -1
  632. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h +1 -1
  633. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +1 -1
  634. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h +4 -4
  635. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h +1 -1
  636. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStandardTextCursorView.h +1 -1
  637. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h +4 -4
  638. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h +1 -1
  639. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h +1 -1
  640. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h +1 -1
  641. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h +2 -2
  642. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h +1 -1
  643. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISymbolContentTransition.h +1 -1
  644. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +1 -1
  645. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h +1 -1
  646. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarControllerSidebar.h +3 -3
  647. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h +1 -1
  648. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabSidebarItem.h +1 -1
  649. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h +13 -13
  650. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h +1 -1
  651. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h +1 -1
  652. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h +1 -1
  653. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorDropPositionAnimator.h +1 -1
  654. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorView.h +2 -2
  655. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h +1 -1
  656. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h +3 -3
  657. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h +3 -3
  658. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h +3 -3
  659. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h +1 -1
  660. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h +12 -12
  661. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h +1 -1
  662. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +1 -1
  663. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h +2 -2
  664. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextItem.h +1 -1
  665. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h +1 -1
  666. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h +1 -1
  667. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h +2 -2
  668. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSearching.h +2 -2
  669. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionDisplayInteraction.h +2 -2
  670. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionHighlightView.h +2 -2
  671. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h +1 -1
  672. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h +1 -1
  673. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolTipInteraction.h +3 -3
  674. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h +1 -1
  675. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h +1 -1
  676. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +1 -1
  677. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITrackingLayoutGuide.h +1 -1
  678. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +2 -2
  679. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateActionPhase.h +1 -1
  680. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateInfo.h +1 -1
  681. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateLink.h +1 -1
  682. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h +5 -5
  683. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h +1 -1
  684. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h +2 -2
  685. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h +2 -2
  686. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h +6 -6
  687. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h +2 -2
  688. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h +4 -4
  689. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewReservedRegion.h +3 -3
  690. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h +1 -1
  691. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h +2 -2
  692. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h +1 -1
  693. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h +2 -2
  694. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationAction.h +1 -1
  695. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneDragInteraction.h +1 -1
  696. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesIOS.h +1 -1
  697. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h +1 -1
  698. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSAttributedString.h +231 -0
  699. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSLayoutManager.h +375 -0
  700. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSParagraphStyle.h +545 -0
  701. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSStringDrawing.h +82 -0
  702. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSText.h +74 -0
  703. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextContainer.h +210 -0
  704. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextList.h +194 -0
  705. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextStorage.h +196 -0
  706. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFont.h +86 -0
  707. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFontDescriptor.h +198 -0
  708. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitDefines.h +48 -0
  709. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.h +11 -11
  710. package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +11 -11
  711. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIAccessibilityTraits.h +91 -0
  712. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.apinotes +43 -0
  713. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +1 -0
  714. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTBase.h +48 -0
  715. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h +1686 -0
  716. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h +509 -0
  717. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionProperties.h +548 -0
  718. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h +577 -0
  719. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h +144 -0
  720. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor.h +134 -0
  721. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorConfiguration.h +68 -0
  722. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorErrors.h +60 -0
  723. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorFrame.h +82 -0
  724. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorParameters.h +48 -0
  725. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_FrameRateConversion.h +207 -0
  726. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencyFrameInterpolation.h +171 -0
  727. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencySuperResolutionScaler.h +143 -0
  728. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_MotionBlur.h +207 -0
  729. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_OpticalFlow.h +172 -0
  730. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_SuperResolutionScaler.h +245 -0
  731. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_TemporalNoiseFilter.h +161 -0
  732. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameSilo.h +177 -0
  733. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTHDRPerFrameMetadataGenerationSession.h +116 -0
  734. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSession.h +176 -0
  735. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSessionProperties.h +76 -0
  736. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMultiPassStorage.h +96 -0
  737. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h +75 -0
  738. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h +111 -0
  739. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h +231 -0
  740. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h +123 -0
  741. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTSession.h +151 -0
  742. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h +146 -0
  743. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTVideoEncoderList.h +74 -0
  744. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.apinotes +197 -0
  745. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h +41 -0
  746. package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Modules/module.modulemap +6 -0
  747. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h +32 -0
  748. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h +69 -0
  749. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCoreMLRequest.h +93 -0
  750. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDefines.h +24 -0
  751. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectAnimalBodyPoseRequest.h +49 -0
  752. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h +85 -0
  753. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h +60 -0
  754. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h +33 -0
  755. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h +46 -0
  756. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h +61 -0
  757. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h +47 -0
  758. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h +35 -0
  759. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPose3DRequest.h +67 -0
  760. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h +194 -0
  761. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h +200 -0
  762. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h +53 -0
  763. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h +66 -0
  764. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h +40 -0
  765. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h +71 -0
  766. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectedPoint.h +55 -0
  767. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNError.h +42 -0
  768. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h +188 -0
  769. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceObservationAccepting.h +32 -0
  770. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h +42 -0
  771. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateForegroundInstanceMaskRequest.h +34 -0
  772. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h +53 -0
  773. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h +41 -0
  774. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h +89 -0
  775. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonInstanceMaskRequest.h +34 -0
  776. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h +67 -0
  777. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h +323 -0
  778. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometryUtils.h +95 -0
  779. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNHumanBodyRecognizedPoint3D.h +26 -0
  780. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h +67 -0
  781. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h +994 -0
  782. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h +61 -0
  783. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h +109 -0
  784. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizedPoint3D.h +34 -0
  785. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h +197 -0
  786. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestHandler.h +419 -0
  787. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestRevisionProviding.h +26 -0
  788. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h +49 -0
  789. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h +302 -0
  790. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackHomographicImageRegistrationRequest.h +46 -0
  791. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackObjectRequest.h +53 -0
  792. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackOpticalFlowRequest.h +106 -0
  793. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackRectangleRequest.h +56 -0
  794. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackTranslationalImageRegistrationRequest.h +45 -0
  795. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackingRequest.h +72 -0
  796. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h +201 -0
  797. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h +198 -0
  798. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNVideoProcessor.h +133 -0
  799. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes +130 -0
  800. package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.h +67 -0
  801. package/sdk/ios/System/Library/Frameworks/Vision.framework/Modules/module.modulemap +7 -0
  802. package/sdk/ios/usr/include/AssertMacros.h +1463 -0
  803. package/sdk/ios/usr/include/_modules/_os_lock.h +33 -0
  804. package/sdk/ios/usr/include/libkern/OSCacheControl.h +66 -0
  805. package/sdk/ios/usr/include/os.modulemap +1 -1
  806. package/sdk/ios/usr/include/pthread/pthread_spis.h +105 -0
  807. package/sdk/ios/usr/include/pthread_spis.h +105 -0
  808. package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
  809. package/sdk/ios/wasm/include/pthread/sched.h +3 -0
  810. package/sdk/ios/wasm/include/pthread.h +7 -0
  811. package/sdk/ios/wasm/include/sched.h +9 -0
  812. package/sdk/ios/wasm/include/sys/mman.h +2 -2
  813. package/sdk/ios/wasm/include/sys/poll.h +3 -0
  814. package/sdk/ios/wasm/include/tgmath.h +5 -0
  815. package/sdk/ios/wasm/include/unistd.h +5 -1
  816. package/skills/contrast/SKILL.md +1 -0
  817. package/skills/peach-debug/SKILL.md +43 -1
  818. package/skills/peach-debug/references/events.md +14 -1
  819. package/src/android-autolinking.ts +5 -18
  820. package/src/answeredNativePackages.ts +24 -5
  821. package/src/app-config.ts +12 -1
  822. package/src/assetCatalogContract.ts +3 -39
  823. package/src/autolinker-process.ts +82 -0
  824. package/src/bazel-project.ts +1133 -0
  825. package/src/bridge-contract.ts +3 -0
  826. package/src/case-insensitive-header-overlay.ts +99 -0
  827. package/src/config.ts +5 -0
  828. package/src/device-catalog.ts +9 -0
  829. package/src/expo-autolinking.ts +12 -15
  830. package/src/expo-native-prebuilt.ts +28 -5
  831. package/src/expo-native-workspace.ts +91 -23
  832. package/src/expo-swift-host.ts +190 -57
  833. package/src/expo-swift-ready.ts +8 -0
  834. package/src/expo-workspace-exclusion.ts +96 -27
  835. package/src/flow-graph-layout.ts +166 -0
  836. package/src/git-repo-env.ts +7 -0
  837. package/src/host/app-package-handler.ts +5 -0
  838. package/src/host/bridge-host.ts +3 -1
  839. package/src/host/hostname-resolver.ts +55 -2
  840. package/src/host/staged-host-files.ts +17 -1
  841. package/src/host/websocket-proxy.ts +19 -2
  842. package/src/java-static-imports.ts +68 -0
  843. package/src/kotlin-jvm-sources.ts +35 -0
  844. package/src/kotlinSdkContract.ts +3 -1
  845. package/src/launchMetadataContract.ts +8 -0
  846. package/src/metro-hot-update.ts +68 -0
  847. package/src/native-app-identity-project.ts +35 -7
  848. package/src/native-app-identity.ts +32 -0
  849. package/src/native-package-slice-build.ts +35 -9
  850. package/src/native-package-slice.ts +10 -4
  851. package/src/native-slices.ts +1 -1
  852. package/src/native-static-libraries.ts +50 -22
  853. package/src/nitro-adapter.lock.json +265 -265
  854. package/src/nitro-app-providers.ts +28 -0
  855. package/src/nitro-bundle.ts +4 -41
  856. package/src/nitro-compile.ts +450 -76
  857. package/src/nitro-source.ts +585 -114
  858. package/src/nitro-superset.lock.json +4 -4
  859. package/src/node-runtime.ts +27 -0
  860. package/src/nodeRuntimeContract.ts +5 -0
  861. package/src/one-sdk-bundle.ts +15 -3
  862. package/src/one-sdk-preparation.ts +69 -9
  863. package/src/oneSdkContract.ts +13 -2
  864. package/src/podspec-sources.ts +376 -1814
  865. package/src/portable-expo-contract.ts +7 -2
  866. package/src/portable-expo-workspace.ts +7 -2
  867. package/src/process-group.ts +13 -0
  868. package/src/react-bridge-importers.ts +1 -0
  869. package/src/react-native-autolinking.ts +13 -43
  870. package/src/react-native-bridge-modules.ts +3 -3
  871. package/src/react-native-core-build.ts +6 -0
  872. package/src/react-native-host-modules.ts +37 -3
  873. package/src/reap-browser.ts +1 -0
  874. package/src/sfSymbolMetricsContract.ts +0 -53
  875. package/src/sim-client.ts +8 -2
  876. package/src/storekit-test-store.ts +49 -0
  877. package/src/stub-pattern-matcher.ts +4 -26
  878. package/src/swift-compile-budget.ts +42 -0
  879. package/src/swift-compile.ts +780 -658
  880. package/src/swift-compiler-digest.ts +2 -0
  881. package/src/swift-cxx-reachable.ts +20 -21
  882. package/src/swift-distribution.lock.json +18 -12
  883. package/src/swift-guest-compile.ts +38 -21
  884. package/src/swift-guest-image-ledger.ts +28 -19
  885. package/src/swift-guest-source-inputs.ts +5 -1
  886. package/src/swift-host.ts +90 -23
  887. package/src/swift-objc-compile.ts +117 -29
  888. package/src/swift-objc-standin.ts +12 -1
  889. package/src/swift-package-manifest.ts +18 -1
  890. package/src/swift-package.ts +26 -8
  891. package/src/swift-packages.ts +66 -27
  892. package/src/swift-resource-class-names.ts +44 -0
  893. package/src/swift-root-lock.ts +50 -15
  894. package/src/swift-shared-sdk.ts +2 -4
  895. package/src/swift-source-file.ts +6 -0
  896. package/src/swift-standin-emit.ts +10 -0
  897. package/src/swift-standins.ts +351 -66
  898. package/src/swift-submit.ts +6 -1
  899. package/src/swift-toolchain.ts +19 -0
  900. package/src/swift-wasm-prune.ts +15 -8
  901. package/src/swiftContract.ts +4 -5
  902. package/src/turbo-bundle.ts +1 -1
  903. package/src/turbo-codegen-intake.ts +8 -5
  904. package/src/turbo-compile.ts +2 -1
  905. package/src/turbo-runtime.lock.json +24 -24
  906. package/src/turbo-source.ts +2027 -271
  907. package/src/vite-plugin-swift.ts +3 -2
  908. package/src/wasm-optimize.ts +14 -10
  909. package/src/worker-system-chunks.ts +31 -3
  910. package/src/worklet-kernel.ts +56 -9
  911. package/src/worklets-babel.ts +8 -1
  912. package/src/xcode-header-search.ts +9 -0
  913. package/src/xcode-project.ts +82 -6
  914. package/dist-types/packages/peach-engine/src/engine/ios-fast-scroll.d.ts +0 -16
  915. package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +0 -12
  916. package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +0 -15
  917. /package/dist-types/packages/{peach-engine → peach-compat}/src/react-bridge.d.ts +0 -0
@@ -0,0 +1,1463 @@
1
+ /*
2
+ * Copyright (c) 2002-2017 by Apple Inc.. All rights reserved.
3
+ *
4
+ * @APPLE_LICENSE_HEADER_START@
5
+ *
6
+ * This file contains Original Code and/or Modifications of Original Code
7
+ * as defined in and that are subject to the Apple Public Source License
8
+ * Version 2.0 (the 'License'). You may not use this file except in
9
+ * compliance with the License. Please obtain a copy of the License at
10
+ * http://www.opensource.apple.com/apsl/ and read it before using this
11
+ * file.
12
+ *
13
+ * The Original Code and all software distributed under the License are
14
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18
+ * Please see the License for the specific language governing rights and
19
+ * limitations under the License.
20
+ *
21
+ * @APPLE_LICENSE_HEADER_END@
22
+ */
23
+
24
+
25
+ /*
26
+ File: AssertMacros.h
27
+
28
+ Contains: This file defines structured error handling and assertion macros for
29
+ programming in C. Originally used in QuickDraw GX and later enhanced.
30
+ These macros are used throughout Apple's software.
31
+
32
+ New code may not want to begin adopting these macros and instead use
33
+ existing language functionality.
34
+
35
+ See "Living In an Exceptional World" by Sean Parent
36
+ (develop, The Apple Technical Journal, Issue 11, August/September 1992)
37
+ <http://developer.apple.com/dev/techsupport/develop/issue11toc.shtml> or
38
+ <http://www.mactech.com/articles/develop/issue_11/Parent_final.html>
39
+ for the methodology behind these error handling and assertion macros.
40
+
41
+ Bugs?: For bug reports, consult the following page on
42
+ the World Wide Web:
43
+
44
+ http://developer.apple.com/bugreporter/
45
+ */
46
+ #ifndef __ASSERTMACROS__
47
+ #define __ASSERTMACROS__
48
+
49
+ #ifdef DEBUG_ASSERT_CONFIG_INCLUDE
50
+ #include DEBUG_ASSERT_CONFIG_INCLUDE
51
+ #endif
52
+
53
+ /*
54
+ * Macro overview:
55
+ *
56
+ * check(assertion)
57
+ * In production builds, pre-processed away
58
+ * In debug builds, if assertion evaluates to false, calls DEBUG_ASSERT_MESSAGE
59
+ *
60
+ * verify(assertion)
61
+ * In production builds, evaluates assertion and does nothing
62
+ * In debug builds, if assertion evaluates to false, calls DEBUG_ASSERT_MESSAGE
63
+ *
64
+ * require(assertion, exceptionLabel)
65
+ * In production builds, if the assertion expression evaluates to false, goto exceptionLabel
66
+ * In debug builds, if the assertion expression evaluates to false, calls DEBUG_ASSERT_MESSAGE
67
+ * and jumps to exceptionLabel
68
+ *
69
+ * In addition the following suffixes are available:
70
+ *
71
+ * _noerr Adds "!= 0" to assertion. Useful for asserting and OSStatus or OSErr is noErr (zero)
72
+ * _action Adds statement to be executued if assertion fails
73
+ * _quiet Suppress call to DEBUG_ASSERT_MESSAGE
74
+ * _string Allows you to add explanitory message to DEBUG_ASSERT_MESSAGE
75
+ *
76
+ * For instance, require_noerr_string(resultCode, label, msg) will do nothing if
77
+ * resultCode is zero, otherwise it will call DEBUG_ASSERT_MESSAGE with msg
78
+ * and jump to label.
79
+ *
80
+ * Configuration:
81
+ *
82
+ * By default all macros generate "production code" (i.e non-debug). If
83
+ * DEBUG_ASSERT_PRODUCTION_CODE is defined to zero or DEBUG is defined to non-zero
84
+ * while this header is included, the macros will generated debug code.
85
+ *
86
+ * If DEBUG_ASSERT_COMPONENT_NAME_STRING is defined, all debug messages will
87
+ * be prefixed with it.
88
+ *
89
+ * By default, all messages write to stderr. If you would like to write a custom
90
+ * error message formater, defined DEBUG_ASSERT_MESSAGE to your function name.
91
+ *
92
+ * Each individual macro will only be defined if it is not already defined, so
93
+ * you can redefine their behavior singly by providing your own definition before
94
+ * this file is included.
95
+ *
96
+ * If you define __ASSERTMACROS__ before this file is included, then nothing in
97
+ * this file will take effect.
98
+ *
99
+ * Prior to Mac OS X 10.6 the macro names used in this file conflicted with some
100
+ * user code, including libraries in boost and the proposed C++ standards efforts,
101
+ * and there was no way for a client of this header to resolve this conflict. Because
102
+ * of this, most of the macros have been changed so that they are prefixed with
103
+ * __ and contain at least one capital letter, which should alleviate the current
104
+ * and future conflicts. However, to allow current sources to continue to compile,
105
+ * compatibility macros are defined at the end with the old names. A tops script
106
+ * at the end of this file will convert all of the old macro names used in a directory
107
+ * to the new names. Clients are recommended to migrate over to these new macros as
108
+ * they update their sources because a future release of Mac OS X will remove the
109
+ * old macro definitions ( without the double-underscore prefix ). Clients who
110
+ * want to compile without the old macro definitions can define the macro
111
+ * __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES to 0 before this file is
112
+ * included.
113
+ */
114
+
115
+
116
+ /*
117
+ * Before including this file, #define DEBUG_ASSERT_COMPONENT_NAME_STRING to
118
+ * a C-string containing the name of your client. This string will be passed to
119
+ * the DEBUG_ASSERT_MESSAGE macro for inclusion in any assertion messages.
120
+ *
121
+ * If you do not define DEBUG_ASSERT_COMPONENT_NAME_STRING, the default
122
+ * DEBUG_ASSERT_COMPONENT_NAME_STRING value, an empty string, will be used by
123
+ * the assertion macros.
124
+ */
125
+ #ifndef DEBUG_ASSERT_COMPONENT_NAME_STRING
126
+ #define DEBUG_ASSERT_COMPONENT_NAME_STRING ""
127
+ #endif
128
+
129
+
130
+ /*
131
+ * To activate the additional assertion code and messages for non-production builds,
132
+ * #define DEBUG_ASSERT_PRODUCTION_CODE to zero before including this file.
133
+ *
134
+ * If you do not define DEBUG_ASSERT_PRODUCTION_CODE, the default value 1 will be used
135
+ * (production code = no assertion code and no messages).
136
+ *
137
+ * If you are building with modules this must be defined via a commandline
138
+ * flag (i.e. -DDEBUG_ASSERT_PRODUCTION_CODE=1) in order to work correctly.
139
+ */
140
+ #ifndef DEBUG_ASSERT_PRODUCTION_CODE
141
+ #define DEBUG_ASSERT_PRODUCTION_CODE !DEBUG
142
+ #endif
143
+
144
+
145
+ /*
146
+ * DEBUG_ASSERT_MESSAGE(component, assertion, label, error, file, line, errorCode)
147
+ *
148
+ * Summary:
149
+ * All assertion messages are routed through this macro. If you wish to use your
150
+ * own routine to display assertion messages, you can override DEBUG_ASSERT_MESSAGE
151
+ * by #defining DEBUG_ASSERT_MESSAGE before including this file.
152
+ *
153
+ * Parameters:
154
+ *
155
+ * componentNameString:
156
+ * A pointer to a string constant containing the name of the
157
+ * component this code is part of. This must be a string constant
158
+ * (and not a string variable or NULL) because the preprocessor
159
+ * concatenates it with other string constants.
160
+ *
161
+ * assertionString:
162
+ * A pointer to a string constant containing the assertion.
163
+ * This must be a string constant (and not a string variable or
164
+ * NULL) because the Preprocessor concatenates it with other
165
+ * string constants.
166
+ *
167
+ * exceptionLabelString:
168
+ * A pointer to a string containing the exceptionLabel, or NULL.
169
+ *
170
+ * errorString:
171
+ * A pointer to the error string, or NULL. DEBUG_ASSERT_MESSAGE macros
172
+ * must not attempt to concatenate this string with constant
173
+ * character strings.
174
+ *
175
+ * fileName:
176
+ * A pointer to the fileName or pathname (generated by the
177
+ * preprocessor __FILE__ identifier), or NULL.
178
+ *
179
+ * lineNumber:
180
+ * The line number in the file (generated by the preprocessor
181
+ * __LINE__ identifier), or 0 (zero).
182
+ *
183
+ * errorCode:
184
+ * A value associated with the assertion, or 0.
185
+ *
186
+ * Here is an example of a DEBUG_ASSERT_MESSAGE macro and a routine which displays
187
+ * assertion messsages:
188
+ *
189
+ * #define DEBUG_ASSERT_COMPONENT_NAME_STRING "MyCoolProgram"
190
+ *
191
+ * #define DEBUG_ASSERT_MESSAGE(componentNameString, assertionString, \
192
+ * exceptionLabelString, errorString, fileName, lineNumber, errorCode) \
193
+ * MyProgramDebugAssert(componentNameString, assertionString, \
194
+ * exceptionLabelString, errorString, fileName, lineNumber, errorCode)
195
+ *
196
+ * static void
197
+ * MyProgramDebugAssert(const char *componentNameString, const char *assertionString,
198
+ * const char *exceptionLabelString, const char *errorString,
199
+ * const char *fileName, long lineNumber, int errorCode)
200
+ * {
201
+ * if ( (assertionString != NULL) && (*assertionString != '\0') )
202
+ * fprintf(stderr, "Assertion failed: %s: %s\n", componentNameString, assertionString);
203
+ * else
204
+ * fprintf(stderr, "Check failed: %s:\n", componentNameString);
205
+ * if ( exceptionLabelString != NULL )
206
+ * fprintf(stderr, " %s\n", exceptionLabelString);
207
+ * if ( errorString != NULL )
208
+ * fprintf(stderr, " %s\n", errorString);
209
+ * if ( fileName != NULL )
210
+ * fprintf(stderr, " file: %s\n", fileName);
211
+ * if ( lineNumber != 0 )
212
+ * fprintf(stderr, " line: %ld\n", lineNumber);
213
+ * if ( errorCode != 0 )
214
+ * fprintf(stderr, " error: %d\n", errorCode);
215
+ * }
216
+ *
217
+ * If you do not define DEBUG_ASSERT_MESSAGE, a simple printf to stderr will be used.
218
+ */
219
+ #ifndef DEBUG_ASSERT_MESSAGE
220
+ #include <TargetConditionals.h>
221
+ #ifdef KERNEL
222
+ #include <libkern/libkern.h>
223
+ #define DEBUG_ASSERT_MESSAGE(name, assertion, label, message, file, line, value) \
224
+ printf( "AssertMacros: %s, %s file: %s, line: %d, value: %lld\n", assertion, (message!=0) ? message : "", file, line, (long long) (value));
225
+ #elif TARGET_OS_DRIVERKIT
226
+ #include <os/log.h>
227
+ #define DEBUG_ASSERT_MESSAGE(name, assertion, label, message, file, line, value) \
228
+ os_log(OS_LOG_DEFAULT, "AssertMacros: %s, %s file: %s, line: %d, value: %lld\n", assertion, (message!=0) ? message : "", file, line, (long long) (value));
229
+ #else
230
+ #include <stdio.h>
231
+ #define DEBUG_ASSERT_MESSAGE(name, assertion, label, message, file, line, value) \
232
+ fprintf(stderr, "AssertMacros: %s, %s file: %s, line: %d, value: %lld\n", assertion, (message!=0) ? message : "", file, line, (long long) (value));
233
+ #endif
234
+ #endif
235
+
236
+ /*
237
+ * DEBUG_ASSERT_FORCE_64_BIT_ERROR_CODE
238
+ *
239
+ * Summary:
240
+ * By default the errorCode passed to DEBUG_ASSERT_MESSAGE will be the system word
241
+ * length. If DEBUG_ASSERT_FORCE_64_BIT_ERROR_CODE is set then it will be changed
242
+ * to a 64 bit integer, even on 32 bit platforms.
243
+ */
244
+ #ifndef DEBUG_ASSERT_FORCE_64_BIT_ERROR_CODE
245
+ #define DEBUG_ASSERT_ERROR_TYPE long
246
+ #else
247
+ #define DEBUG_ASSERT_ERROR_TYPE long long
248
+ #endif
249
+
250
+
251
+
252
+
253
+
254
+ /*
255
+ * __Debug_String(message)
256
+ *
257
+ * Summary:
258
+ * Production builds: does nothing and produces no code.
259
+ *
260
+ * Non-production builds: call DEBUG_ASSERT_MESSAGE.
261
+ *
262
+ * Parameters:
263
+ *
264
+ * message:
265
+ * The C string to display.
266
+ *
267
+ */
268
+ #ifndef __Debug_String
269
+ #if DEBUG_ASSERT_PRODUCTION_CODE
270
+ #define __Debug_String(message)
271
+ #else
272
+ #define __Debug_String(message) \
273
+ do \
274
+ { \
275
+ DEBUG_ASSERT_MESSAGE( \
276
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
277
+ "", \
278
+ 0, \
279
+ message, \
280
+ __FILE__, \
281
+ __LINE__, \
282
+ 0); \
283
+ } while ( 0 )
284
+ #endif
285
+ #endif
286
+
287
+ /*
288
+ * __Check(assertion)
289
+ *
290
+ * Summary:
291
+ * Production builds: does nothing and produces no code.
292
+ *
293
+ * Non-production builds: if the assertion expression evaluates to false,
294
+ * call DEBUG_ASSERT_MESSAGE.
295
+ *
296
+ * Parameters:
297
+ *
298
+ * assertion:
299
+ * The assertion expression.
300
+ */
301
+ #ifndef __Check
302
+ #if DEBUG_ASSERT_PRODUCTION_CODE
303
+ #define __Check(assertion)
304
+ #else
305
+ #define __Check(assertion) \
306
+ do \
307
+ { \
308
+ if ( __builtin_expect(!(assertion), 0) ) \
309
+ { \
310
+ DEBUG_ASSERT_MESSAGE( \
311
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
312
+ #assertion, 0, 0, __FILE__, __LINE__, 0 ); \
313
+ } \
314
+ } while ( 0 )
315
+ #endif
316
+ #endif
317
+
318
+ #ifndef __nCheck
319
+ #define __nCheck(assertion) __Check(!(assertion))
320
+ #endif
321
+
322
+ /*
323
+ * __Check_String(assertion, message)
324
+ *
325
+ * Summary:
326
+ * Production builds: does nothing and produces no code.
327
+ *
328
+ * Non-production builds: if the assertion expression evaluates to false,
329
+ * call DEBUG_ASSERT_MESSAGE.
330
+ *
331
+ * Parameters:
332
+ *
333
+ * assertion:
334
+ * The assertion expression.
335
+ *
336
+ * message:
337
+ * The C string to display.
338
+ */
339
+ #ifndef __Check_String
340
+ #if DEBUG_ASSERT_PRODUCTION_CODE
341
+ #define __Check_String(assertion, message)
342
+ #else
343
+ #define __Check_String(assertion, message) \
344
+ do \
345
+ { \
346
+ if ( __builtin_expect(!(assertion), 0) ) \
347
+ { \
348
+ DEBUG_ASSERT_MESSAGE( \
349
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
350
+ #assertion, 0, message, __FILE__, __LINE__, 0 ); \
351
+ } \
352
+ } while ( 0 )
353
+ #endif
354
+ #endif
355
+
356
+ #ifndef __nCheck_String
357
+ #define __nCheck_String(assertion, message) __Check_String(!(assertion), message)
358
+ #endif
359
+
360
+ /*
361
+ * __Check_noErr(errorCode)
362
+ *
363
+ * Summary:
364
+ * Production builds: does nothing and produces no code.
365
+ *
366
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
367
+ * call DEBUG_ASSERT_MESSAGE.
368
+ *
369
+ * Parameters:
370
+ *
371
+ * errorCode:
372
+ * The errorCode expression to compare with 0.
373
+ */
374
+ #ifndef __Check_noErr
375
+ #if DEBUG_ASSERT_PRODUCTION_CODE
376
+ #define __Check_noErr(errorCode)
377
+ #else
378
+ #define __Check_noErr(errorCode) \
379
+ do \
380
+ { \
381
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
382
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
383
+ { \
384
+ DEBUG_ASSERT_MESSAGE( \
385
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
386
+ #errorCode " == 0 ", 0, 0, __FILE__, __LINE__, evalOnceErrorCode ); \
387
+ } \
388
+ } while ( 0 )
389
+ #endif
390
+ #endif
391
+
392
+ /*
393
+ * __Check_noErr_String(errorCode, message)
394
+ *
395
+ * Summary:
396
+ * Production builds: check_noerr_string() does nothing and produces
397
+ * no code.
398
+ *
399
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
400
+ * call DEBUG_ASSERT_MESSAGE.
401
+ *
402
+ * Parameters:
403
+ *
404
+ * errorCode:
405
+ * The errorCode expression to compare to 0.
406
+ *
407
+ * message:
408
+ * The C string to display.
409
+ */
410
+ #ifndef __Check_noErr_String
411
+ #if DEBUG_ASSERT_PRODUCTION_CODE
412
+ #define __Check_noErr_String(errorCode, message)
413
+ #else
414
+ #define __Check_noErr_String(errorCode, message) \
415
+ do \
416
+ { \
417
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
418
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
419
+ { \
420
+ DEBUG_ASSERT_MESSAGE( \
421
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
422
+ #errorCode " == 0 ", 0, message, __FILE__, __LINE__, evalOnceErrorCode ); \
423
+ } \
424
+ } while ( 0 )
425
+ #endif
426
+ #endif
427
+
428
+ /*
429
+ * __Verify(assertion)
430
+ *
431
+ * Summary:
432
+ * Production builds: evaluate the assertion expression, but ignore
433
+ * the result.
434
+ *
435
+ * Non-production builds: if the assertion expression evaluates to false,
436
+ * call DEBUG_ASSERT_MESSAGE.
437
+ *
438
+ * Parameters:
439
+ *
440
+ * assertion:
441
+ * The assertion expression.
442
+ */
443
+ #ifndef __Verify
444
+ #if DEBUG_ASSERT_PRODUCTION_CODE
445
+ #define __Verify(assertion) \
446
+ do \
447
+ { \
448
+ if ( !(assertion) ) \
449
+ { \
450
+ } \
451
+ } while ( 0 )
452
+ #else
453
+ #define __Verify(assertion) \
454
+ do \
455
+ { \
456
+ if ( __builtin_expect(!(assertion), 0) ) \
457
+ { \
458
+ DEBUG_ASSERT_MESSAGE( \
459
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
460
+ #assertion, 0, 0, __FILE__, __LINE__, 0 ); \
461
+ } \
462
+ } while ( 0 )
463
+ #endif
464
+ #endif
465
+
466
+ #ifndef __nVerify
467
+ #define __nVerify(assertion) __Verify(!(assertion))
468
+ #endif
469
+
470
+ /*
471
+ * __Verify_String(assertion, message)
472
+ *
473
+ * Summary:
474
+ * Production builds: evaluate the assertion expression, but ignore
475
+ * the result.
476
+ *
477
+ * Non-production builds: if the assertion expression evaluates to false,
478
+ * call DEBUG_ASSERT_MESSAGE.
479
+ *
480
+ * Parameters:
481
+ *
482
+ * assertion:
483
+ * The assertion expression.
484
+ *
485
+ * message:
486
+ * The C string to display.
487
+ */
488
+ #ifndef __Verify_String
489
+ #if DEBUG_ASSERT_PRODUCTION_CODE
490
+ #define __Verify_String(assertion, message) \
491
+ do \
492
+ { \
493
+ if ( !(assertion) ) \
494
+ { \
495
+ } \
496
+ } while ( 0 )
497
+ #else
498
+ #define __Verify_String(assertion, message) \
499
+ do \
500
+ { \
501
+ if ( __builtin_expect(!(assertion), 0) ) \
502
+ { \
503
+ DEBUG_ASSERT_MESSAGE( \
504
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
505
+ #assertion, 0, message, __FILE__, __LINE__, 0 ); \
506
+ } \
507
+ } while ( 0 )
508
+ #endif
509
+ #endif
510
+
511
+ #ifndef __nVerify_String
512
+ #define __nVerify_String(assertion, message) __Verify_String(!(assertion), message)
513
+ #endif
514
+
515
+ /*
516
+ * __Verify_noErr(errorCode)
517
+ *
518
+ * Summary:
519
+ * Production builds: evaluate the errorCode expression, but ignore
520
+ * the result.
521
+ *
522
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
523
+ * call DEBUG_ASSERT_MESSAGE.
524
+ *
525
+ * Parameters:
526
+ *
527
+ * errorCode:
528
+ * The expression to compare to 0.
529
+ */
530
+ #ifndef __Verify_noErr
531
+ #if DEBUG_ASSERT_PRODUCTION_CODE
532
+ #define __Verify_noErr(errorCode) \
533
+ do \
534
+ { \
535
+ if ( 0 != (errorCode) ) \
536
+ { \
537
+ } \
538
+ } while ( 0 )
539
+ #else
540
+ #define __Verify_noErr(errorCode) \
541
+ do \
542
+ { \
543
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
544
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
545
+ { \
546
+ DEBUG_ASSERT_MESSAGE( \
547
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
548
+ #errorCode " == 0 ", 0, 0, __FILE__, __LINE__, evalOnceErrorCode ); \
549
+ } \
550
+ } while ( 0 )
551
+ #endif
552
+ #endif
553
+
554
+ /*
555
+ * __Verify_noErr_String(errorCode, message)
556
+ *
557
+ * Summary:
558
+ * Production builds: evaluate the errorCode expression, but ignore
559
+ * the result.
560
+ *
561
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
562
+ * call DEBUG_ASSERT_MESSAGE.
563
+ *
564
+ * Parameters:
565
+ *
566
+ * errorCode:
567
+ * The expression to compare to 0.
568
+ *
569
+ * message:
570
+ * The C string to display.
571
+ */
572
+ #ifndef __Verify_noErr_String
573
+ #if DEBUG_ASSERT_PRODUCTION_CODE
574
+ #define __Verify_noErr_String(errorCode, message) \
575
+ do \
576
+ { \
577
+ if ( 0 != (errorCode) ) \
578
+ { \
579
+ } \
580
+ } while ( 0 )
581
+ #else
582
+ #define __Verify_noErr_String(errorCode, message) \
583
+ do \
584
+ { \
585
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
586
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
587
+ { \
588
+ DEBUG_ASSERT_MESSAGE( \
589
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
590
+ #errorCode " == 0 ", 0, message, __FILE__, __LINE__, evalOnceErrorCode ); \
591
+ } \
592
+ } while ( 0 )
593
+ #endif
594
+ #endif
595
+
596
+ /*
597
+ * __Verify_noErr_Action(errorCode, action)
598
+ *
599
+ * Summary:
600
+ * Production builds: if the errorCode expression does not equal 0 (noErr),
601
+ * execute the action statement or compound statement (block).
602
+ *
603
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
604
+ * call DEBUG_ASSERT_MESSAGE and then execute the action statement or compound
605
+ * statement (block).
606
+ *
607
+ * Parameters:
608
+ *
609
+ * errorCode:
610
+ * The expression to compare to 0.
611
+ *
612
+ * action:
613
+ * The statement or compound statement (block).
614
+ */
615
+ #ifndef __Verify_noErr_Action
616
+ #if DEBUG_ASSERT_PRODUCTION_CODE
617
+ #define __Verify_noErr_Action(errorCode, action) \
618
+ if ( 0 != (errorCode) ) { \
619
+ action; \
620
+ } \
621
+ else do {} while (0)
622
+ #else
623
+ #define __Verify_noErr_Action(errorCode, action) \
624
+ do { \
625
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
626
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) { \
627
+ DEBUG_ASSERT_MESSAGE( \
628
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
629
+ #errorCode " == 0 ", 0, 0, __FILE__, __LINE__, evalOnceErrorCode ); \
630
+ action; \
631
+ } \
632
+ } while (0)
633
+ #endif
634
+ #endif
635
+
636
+ /*
637
+ * __Verify_Action(assertion, action)
638
+ *
639
+ * Summary:
640
+ * Production builds: if the assertion expression evaluates to false,
641
+ * then execute the action statement or compound statement (block).
642
+ *
643
+ * Non-production builds: if the assertion expression evaluates to false,
644
+ * call DEBUG_ASSERT_MESSAGE and then execute the action statement or compound
645
+ * statement (block).
646
+ *
647
+ * Parameters:
648
+ *
649
+ * assertion:
650
+ * The assertion expression.
651
+ *
652
+ * action:
653
+ * The statement or compound statement (block).
654
+ */
655
+ #ifndef __Verify_Action
656
+ #if DEBUG_ASSERT_PRODUCTION_CODE
657
+ #define __Verify_Action(assertion, action) \
658
+ if ( __builtin_expect(!(assertion), 0) ) { \
659
+ action; \
660
+ } \
661
+ else do {} while (0)
662
+ #else
663
+ #define __Verify_Action(assertion, action) \
664
+ if ( __builtin_expect(!(assertion), 0) ) { \
665
+ DEBUG_ASSERT_MESSAGE( \
666
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
667
+ #assertion, 0, 0, __FILE__, __LINE__, 0 ); \
668
+ action; \
669
+ } \
670
+ else do {} while (0)
671
+ #endif
672
+ #endif
673
+
674
+ /*
675
+ * __Require(assertion, exceptionLabel)
676
+ *
677
+ * Summary:
678
+ * Production builds: if the assertion expression evaluates to false,
679
+ * goto exceptionLabel.
680
+ *
681
+ * Non-production builds: if the assertion expression evaluates to false,
682
+ * call DEBUG_ASSERT_MESSAGE and then goto exceptionLabel.
683
+ *
684
+ * Parameters:
685
+ *
686
+ * assertion:
687
+ * The assertion expression.
688
+ *
689
+ * exceptionLabel:
690
+ * The label.
691
+ */
692
+ #ifndef __Require
693
+ #if DEBUG_ASSERT_PRODUCTION_CODE
694
+ #define __Require(assertion, exceptionLabel) \
695
+ do \
696
+ { \
697
+ if ( __builtin_expect(!(assertion), 0) ) \
698
+ { \
699
+ goto exceptionLabel; \
700
+ } \
701
+ } while ( 0 )
702
+ #else
703
+ #define __Require(assertion, exceptionLabel) \
704
+ do \
705
+ { \
706
+ if ( __builtin_expect(!(assertion), 0) ) { \
707
+ DEBUG_ASSERT_MESSAGE( \
708
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
709
+ #assertion, #exceptionLabel, 0, __FILE__, __LINE__, 0); \
710
+ goto exceptionLabel; \
711
+ } \
712
+ } while ( 0 )
713
+ #endif
714
+ #endif
715
+
716
+ #ifndef __nRequire
717
+ #define __nRequire(assertion, exceptionLabel) __Require(!(assertion), exceptionLabel)
718
+ #endif
719
+
720
+ /*
721
+ * __Require_Action(assertion, exceptionLabel, action)
722
+ *
723
+ * Summary:
724
+ * Production builds: if the assertion expression evaluates to false,
725
+ * execute the action statement or compound statement (block) and then
726
+ * goto exceptionLabel.
727
+ *
728
+ * Non-production builds: if the assertion expression evaluates to false,
729
+ * call DEBUG_ASSERT_MESSAGE, execute the action statement or compound
730
+ * statement (block), and then goto exceptionLabel.
731
+ *
732
+ * Parameters:
733
+ *
734
+ * assertion:
735
+ * The assertion expression.
736
+ *
737
+ * exceptionLabel:
738
+ * The label.
739
+ *
740
+ * action:
741
+ * The statement or compound statement (block).
742
+ */
743
+ #ifndef __Require_Action
744
+ #if DEBUG_ASSERT_PRODUCTION_CODE
745
+ #define __Require_Action(assertion, exceptionLabel, action) \
746
+ do \
747
+ { \
748
+ if ( __builtin_expect(!(assertion), 0) ) \
749
+ { \
750
+ { \
751
+ action; \
752
+ } \
753
+ goto exceptionLabel; \
754
+ } \
755
+ } while ( 0 )
756
+ #else
757
+ #define __Require_Action(assertion, exceptionLabel, action) \
758
+ do \
759
+ { \
760
+ if ( __builtin_expect(!(assertion), 0) ) \
761
+ { \
762
+ DEBUG_ASSERT_MESSAGE( \
763
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
764
+ #assertion, #exceptionLabel, 0, __FILE__, __LINE__, 0); \
765
+ { \
766
+ action; \
767
+ } \
768
+ goto exceptionLabel; \
769
+ } \
770
+ } while ( 0 )
771
+ #endif
772
+ #endif
773
+
774
+ #ifndef __nRequire_Action
775
+ #define __nRequire_Action(assertion, exceptionLabel, action) \
776
+ __Require_Action(!(assertion), exceptionLabel, action)
777
+ #endif
778
+
779
+ /*
780
+ * __Require_Quiet(assertion, exceptionLabel)
781
+ *
782
+ * Summary:
783
+ * If the assertion expression evaluates to false, goto exceptionLabel.
784
+ *
785
+ * Parameters:
786
+ *
787
+ * assertion:
788
+ * The assertion expression.
789
+ *
790
+ * exceptionLabel:
791
+ * The label.
792
+ */
793
+ #ifndef __Require_Quiet
794
+ #define __Require_Quiet(assertion, exceptionLabel) \
795
+ do \
796
+ { \
797
+ if ( __builtin_expect(!(assertion), 0) ) \
798
+ { \
799
+ goto exceptionLabel; \
800
+ } \
801
+ } while ( 0 )
802
+ #endif
803
+
804
+ #ifndef __nRequire_Quiet
805
+ #define __nRequire_Quiet(assertion, exceptionLabel) __Require_Quiet(!(assertion), exceptionLabel)
806
+ #endif
807
+
808
+ /*
809
+ * __Require_Action_Quiet(assertion, exceptionLabel, action)
810
+ *
811
+ * Summary:
812
+ * If the assertion expression evaluates to false, execute the action
813
+ * statement or compound statement (block), and goto exceptionLabel.
814
+ *
815
+ * Parameters:
816
+ *
817
+ * assertion:
818
+ * The assertion expression.
819
+ *
820
+ * exceptionLabel:
821
+ * The label.
822
+ *
823
+ * action:
824
+ * The statement or compound statement (block).
825
+ */
826
+ #ifndef __Require_Action_Quiet
827
+ #define __Require_Action_Quiet(assertion, exceptionLabel, action) \
828
+ do \
829
+ { \
830
+ if ( __builtin_expect(!(assertion), 0) ) \
831
+ { \
832
+ { \
833
+ action; \
834
+ } \
835
+ goto exceptionLabel; \
836
+ } \
837
+ } while ( 0 )
838
+ #endif
839
+
840
+ #ifndef __nRequire_Action_Quiet
841
+ #define __nRequire_Action_Quiet(assertion, exceptionLabel, action) \
842
+ __Require_Action_Quiet(!(assertion), exceptionLabel, action)
843
+ #endif
844
+
845
+ /*
846
+ * __Require_String(assertion, exceptionLabel, message)
847
+ *
848
+ * Summary:
849
+ * Production builds: if the assertion expression evaluates to false,
850
+ * goto exceptionLabel.
851
+ *
852
+ * Non-production builds: if the assertion expression evaluates to false,
853
+ * call DEBUG_ASSERT_MESSAGE, and then goto exceptionLabel.
854
+ *
855
+ * Parameters:
856
+ *
857
+ * assertion:
858
+ * The assertion expression.
859
+ *
860
+ * exceptionLabel:
861
+ * The label.
862
+ *
863
+ * message:
864
+ * The C string to display.
865
+ */
866
+ #ifndef __Require_String
867
+ #if DEBUG_ASSERT_PRODUCTION_CODE
868
+ #define __Require_String(assertion, exceptionLabel, message) \
869
+ do \
870
+ { \
871
+ if ( __builtin_expect(!(assertion), 0) ) \
872
+ { \
873
+ goto exceptionLabel; \
874
+ } \
875
+ } while ( 0 )
876
+ #else
877
+ #define __Require_String(assertion, exceptionLabel, message) \
878
+ do \
879
+ { \
880
+ if ( __builtin_expect(!(assertion), 0) ) \
881
+ { \
882
+ DEBUG_ASSERT_MESSAGE( \
883
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
884
+ #assertion, #exceptionLabel, message, __FILE__, __LINE__, 0); \
885
+ goto exceptionLabel; \
886
+ } \
887
+ } while ( 0 )
888
+ #endif
889
+ #endif
890
+
891
+ #ifndef __nRequire_String
892
+ #define __nRequire_String(assertion, exceptionLabel, string) \
893
+ __Require_String(!(assertion), exceptionLabel, string)
894
+ #endif
895
+
896
+ /*
897
+ * __Require_Action_String(assertion, exceptionLabel, action, message)
898
+ *
899
+ * Summary:
900
+ * Production builds: if the assertion expression evaluates to false,
901
+ * execute the action statement or compound statement (block), and then
902
+ * goto exceptionLabel.
903
+ *
904
+ * Non-production builds: if the assertion expression evaluates to false,
905
+ * call DEBUG_ASSERT_MESSAGE, execute the action statement or compound
906
+ * statement (block), and then goto exceptionLabel.
907
+ *
908
+ * Parameters:
909
+ *
910
+ * assertion:
911
+ * The assertion expression.
912
+ *
913
+ * exceptionLabel:
914
+ * The label.
915
+ *
916
+ * action:
917
+ * The statement or compound statement (block).
918
+ *
919
+ * message:
920
+ * The C string to display.
921
+ */
922
+ #ifndef __Require_Action_String
923
+ #if DEBUG_ASSERT_PRODUCTION_CODE
924
+ #define __Require_Action_String(assertion, exceptionLabel, action, message) \
925
+ do \
926
+ { \
927
+ if ( __builtin_expect(!(assertion), 0) ) \
928
+ { \
929
+ { \
930
+ action; \
931
+ } \
932
+ goto exceptionLabel; \
933
+ } \
934
+ } while ( 0 )
935
+ #else
936
+ #define __Require_Action_String(assertion, exceptionLabel, action, message) \
937
+ do \
938
+ { \
939
+ if ( __builtin_expect(!(assertion), 0) ) \
940
+ { \
941
+ DEBUG_ASSERT_MESSAGE( \
942
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
943
+ #assertion, #exceptionLabel, message, __FILE__, __LINE__, 0); \
944
+ { \
945
+ action; \
946
+ } \
947
+ goto exceptionLabel; \
948
+ } \
949
+ } while ( 0 )
950
+ #endif
951
+ #endif
952
+
953
+ #ifndef __nRequire_Action_String
954
+ #define __nRequire_Action_String(assertion, exceptionLabel, action, message) \
955
+ __Require_Action_String(!(assertion), exceptionLabel, action, message)
956
+ #endif
957
+
958
+ /*
959
+ * __Require_noErr(errorCode, exceptionLabel)
960
+ *
961
+ * Summary:
962
+ * Production builds: if the errorCode expression does not equal 0 (noErr),
963
+ * goto exceptionLabel.
964
+ *
965
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
966
+ * call DEBUG_ASSERT_MESSAGE and then goto exceptionLabel.
967
+ *
968
+ * Parameters:
969
+ *
970
+ * errorCode:
971
+ * The expression to compare to 0.
972
+ *
973
+ * exceptionLabel:
974
+ * The label.
975
+ */
976
+ #ifndef __Require_noErr
977
+ #if DEBUG_ASSERT_PRODUCTION_CODE
978
+ #define __Require_noErr(errorCode, exceptionLabel) \
979
+ do \
980
+ { \
981
+ if ( __builtin_expect(0 != (errorCode), 0) ) \
982
+ { \
983
+ goto exceptionLabel; \
984
+ } \
985
+ } while ( 0 )
986
+ #else
987
+ #define __Require_noErr(errorCode, exceptionLabel) \
988
+ do \
989
+ { \
990
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
991
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
992
+ { \
993
+ DEBUG_ASSERT_MESSAGE( \
994
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
995
+ #errorCode " == 0 ", #exceptionLabel, 0, __FILE__, __LINE__, evalOnceErrorCode); \
996
+ goto exceptionLabel; \
997
+ } \
998
+ } while ( 0 )
999
+ #endif
1000
+ #endif
1001
+
1002
+ /*
1003
+ * __Require_noErr_Action(errorCode, exceptionLabel, action)
1004
+ *
1005
+ * Summary:
1006
+ * Production builds: if the errorCode expression does not equal 0 (noErr),
1007
+ * execute the action statement or compound statement (block) and
1008
+ * goto exceptionLabel.
1009
+ *
1010
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
1011
+ * call DEBUG_ASSERT_MESSAGE, execute the action statement or
1012
+ * compound statement (block), and then goto exceptionLabel.
1013
+ *
1014
+ * Parameters:
1015
+ *
1016
+ * errorCode:
1017
+ * The expression to compare to 0.
1018
+ *
1019
+ * exceptionLabel:
1020
+ * The label.
1021
+ *
1022
+ * action:
1023
+ * The statement or compound statement (block).
1024
+ */
1025
+ #ifndef __Require_noErr_Action
1026
+ #if DEBUG_ASSERT_PRODUCTION_CODE
1027
+ #define __Require_noErr_Action(errorCode, exceptionLabel, action) \
1028
+ do \
1029
+ { \
1030
+ if ( __builtin_expect(0 != (errorCode), 0) ) \
1031
+ { \
1032
+ { \
1033
+ action; \
1034
+ } \
1035
+ goto exceptionLabel; \
1036
+ } \
1037
+ } while ( 0 )
1038
+ #else
1039
+ #define __Require_noErr_Action(errorCode, exceptionLabel, action) \
1040
+ do \
1041
+ { \
1042
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
1043
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
1044
+ { \
1045
+ DEBUG_ASSERT_MESSAGE( \
1046
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
1047
+ #errorCode " == 0 ", #exceptionLabel, 0, __FILE__, __LINE__, evalOnceErrorCode); \
1048
+ { \
1049
+ action; \
1050
+ } \
1051
+ goto exceptionLabel; \
1052
+ } \
1053
+ } while ( 0 )
1054
+ #endif
1055
+ #endif
1056
+
1057
+ /*
1058
+ * __Require_noErr_Quiet(errorCode, exceptionLabel)
1059
+ *
1060
+ * Summary:
1061
+ * If the errorCode expression does not equal 0 (noErr),
1062
+ * goto exceptionLabel.
1063
+ *
1064
+ * Parameters:
1065
+ *
1066
+ * errorCode:
1067
+ * The expression to compare to 0.
1068
+ *
1069
+ * exceptionLabel:
1070
+ * The label.
1071
+ */
1072
+ #ifndef __Require_noErr_Quiet
1073
+ #define __Require_noErr_Quiet(errorCode, exceptionLabel) \
1074
+ do \
1075
+ { \
1076
+ if ( __builtin_expect(0 != (errorCode), 0) ) \
1077
+ { \
1078
+ goto exceptionLabel; \
1079
+ } \
1080
+ } while ( 0 )
1081
+ #endif
1082
+
1083
+ /*
1084
+ * __Require_noErr_Action_Quiet(errorCode, exceptionLabel, action)
1085
+ *
1086
+ * Summary:
1087
+ * If the errorCode expression does not equal 0 (noErr),
1088
+ * execute the action statement or compound statement (block) and
1089
+ * goto exceptionLabel.
1090
+ *
1091
+ * Parameters:
1092
+ *
1093
+ * errorCode:
1094
+ * The expression to compare to 0.
1095
+ *
1096
+ * exceptionLabel:
1097
+ * The label.
1098
+ *
1099
+ * action:
1100
+ * The statement or compound statement (block).
1101
+ */
1102
+ #ifndef __Require_noErr_Action_Quiet
1103
+ #define __Require_noErr_Action_Quiet(errorCode, exceptionLabel, action) \
1104
+ do \
1105
+ { \
1106
+ if ( __builtin_expect(0 != (errorCode), 0) ) \
1107
+ { \
1108
+ { \
1109
+ action; \
1110
+ } \
1111
+ goto exceptionLabel; \
1112
+ } \
1113
+ } while ( 0 )
1114
+ #endif
1115
+
1116
+ /*
1117
+ * __Require_noErr_String(errorCode, exceptionLabel, message)
1118
+ *
1119
+ * Summary:
1120
+ * Production builds: if the errorCode expression does not equal 0 (noErr),
1121
+ * goto exceptionLabel.
1122
+ *
1123
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
1124
+ * call DEBUG_ASSERT_MESSAGE, and then goto exceptionLabel.
1125
+ *
1126
+ * Parameters:
1127
+ *
1128
+ * errorCode:
1129
+ * The expression to compare to 0.
1130
+ *
1131
+ * exceptionLabel:
1132
+ * The label.
1133
+ *
1134
+ * message:
1135
+ * The C string to display.
1136
+ */
1137
+ #ifndef __Require_noErr_String
1138
+ #if DEBUG_ASSERT_PRODUCTION_CODE
1139
+ #define __Require_noErr_String(errorCode, exceptionLabel, message) \
1140
+ do \
1141
+ { \
1142
+ if ( __builtin_expect(0 != (errorCode), 0) ) \
1143
+ { \
1144
+ goto exceptionLabel; \
1145
+ } \
1146
+ } while ( 0 )
1147
+ #else
1148
+ #define __Require_noErr_String(errorCode, exceptionLabel, message) \
1149
+ do \
1150
+ { \
1151
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
1152
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
1153
+ { \
1154
+ DEBUG_ASSERT_MESSAGE( \
1155
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
1156
+ #errorCode " == 0 ", #exceptionLabel, message, __FILE__, __LINE__, evalOnceErrorCode); \
1157
+ goto exceptionLabel; \
1158
+ } \
1159
+ } while ( 0 )
1160
+ #endif
1161
+ #endif
1162
+
1163
+ /*
1164
+ * __Require_noErr_Action_String(errorCode, exceptionLabel, action, message)
1165
+ *
1166
+ * Summary:
1167
+ * Production builds: if the errorCode expression does not equal 0 (noErr),
1168
+ * execute the action statement or compound statement (block) and
1169
+ * goto exceptionLabel.
1170
+ *
1171
+ * Non-production builds: if the errorCode expression does not equal 0 (noErr),
1172
+ * call DEBUG_ASSERT_MESSAGE, execute the action statement or compound
1173
+ * statement (block), and then goto exceptionLabel.
1174
+ *
1175
+ * Parameters:
1176
+ *
1177
+ * errorCode:
1178
+ * The expression to compare to 0.
1179
+ *
1180
+ * exceptionLabel:
1181
+ * The label.
1182
+ *
1183
+ * action:
1184
+ * The statement or compound statement (block).
1185
+ *
1186
+ * message:
1187
+ * The C string to display.
1188
+ */
1189
+ #ifndef __Require_noErr_Action_String
1190
+ #if DEBUG_ASSERT_PRODUCTION_CODE
1191
+ #define __Require_noErr_Action_String(errorCode, exceptionLabel, action, message) \
1192
+ do \
1193
+ { \
1194
+ if ( __builtin_expect(0 != (errorCode), 0) ) \
1195
+ { \
1196
+ { \
1197
+ action; \
1198
+ } \
1199
+ goto exceptionLabel; \
1200
+ } \
1201
+ } while ( 0 )
1202
+ #else
1203
+ #define __Require_noErr_Action_String(errorCode, exceptionLabel, action, message) \
1204
+ do \
1205
+ { \
1206
+ DEBUG_ASSERT_ERROR_TYPE evalOnceErrorCode = (errorCode); \
1207
+ if ( __builtin_expect(0 != evalOnceErrorCode, 0) ) \
1208
+ { \
1209
+ DEBUG_ASSERT_MESSAGE( \
1210
+ DEBUG_ASSERT_COMPONENT_NAME_STRING, \
1211
+ #errorCode " == 0 ", #exceptionLabel, message, __FILE__, __LINE__, evalOnceErrorCode); \
1212
+ { \
1213
+ action; \
1214
+ } \
1215
+ goto exceptionLabel; \
1216
+ } \
1217
+ } while ( 0 )
1218
+ #endif
1219
+ #endif
1220
+
1221
+ /*
1222
+ * __Check_Compile_Time(expr)
1223
+ *
1224
+ * Summary:
1225
+ * any build: if the expression is not true, generated a compile time error.
1226
+ *
1227
+ * Parameters:
1228
+ *
1229
+ * expr:
1230
+ * The compile time expression that should evaluate to non-zero.
1231
+ *
1232
+ * Discussion:
1233
+ * This declares an array with a size that is determined by a compile-time expression.
1234
+ * If false, it declares a negatively sized array, which generates a compile-time error.
1235
+ *
1236
+ * Examples:
1237
+ * __Check_Compile_Time( sizeof( int ) == 4 );
1238
+ * __Check_Compile_Time( offsetof( MyStruct, myField ) == 4 );
1239
+ * __Check_Compile_Time( ( kMyBufferSize % 512 ) == 0 );
1240
+ *
1241
+ * Note: This only works with compile-time expressions.
1242
+ * Note: This only works in places where extern declarations are allowed (e.g. global scope).
1243
+ */
1244
+ #ifndef __Check_Compile_Time
1245
+ #ifdef __GNUC__
1246
+ #if (__cplusplus >= 201103L)
1247
+ #define __Check_Compile_Time( expr ) static_assert( expr , "__Check_Compile_Time")
1248
+ #elif (__STDC_VERSION__ >= 201112L)
1249
+ #define __Check_Compile_Time( expr ) _Static_assert( expr , "__Check_Compile_Time")
1250
+ #else
1251
+ #define __Check_Compile_Time( expr ) \
1252
+ extern int compile_time_assert_failed[ ( expr ) ? 1 : -1 ] __attribute__( ( unused ) )
1253
+ #endif
1254
+ #else
1255
+ #define __Check_Compile_Time( expr ) \
1256
+ extern int compile_time_assert_failed[ ( expr ) ? 1 : -1 ]
1257
+ #endif
1258
+ #endif
1259
+
1260
+ /*
1261
+ * For time immemorial, Mac OS X has defined version of most of these macros without the __ prefix, which
1262
+ * could collide with similarly named functions or macros in user code, including new functionality in
1263
+ * Boost and the C++ standard library.
1264
+ *
1265
+ * macOS High Sierra and iOS 11 will now require that clients move to the new macros as defined above.
1266
+ *
1267
+ * If you would like to enable the macros for use within your own project, you can define the
1268
+ * __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES macro via an Xcode Build Configuration.
1269
+ * See "Add a build configuration (xcconfig) file" in Xcode Help.
1270
+ *
1271
+ * To aid users of these macros in converting their sources, the following tops script will convert usages
1272
+ * of the old macros into the new equivalents. To do so, in Terminal go into the directory containing the
1273
+ * sources to be converted and run this command.
1274
+ *
1275
+ find -E . -regex '.*\.(c|cc|cp|cpp|m|mm|h|hh|hp|hpp)' -print0 | xargs -0 tops -verbose \
1276
+ replace "check(<b args>)" with "__Check(<args>)" \
1277
+ replace "check_noerr(<b args>)" with "__Check_noErr(<args>)" \
1278
+ replace "check_noerr_string(<b args>)" with "__Check_noErr_String(<args>)" \
1279
+ replace "check_string(<b args>)" with "__Check_String(<args>)" \
1280
+ replace "require(<b args>)" with "__Require(<args>)" \
1281
+ replace "require_action(<b args>)" with "__Require_Action(<args>)" \
1282
+ replace "require_action_string(<b args>)" with "__Require_Action_String(<args>)" \
1283
+ replace "require_noerr(<b args>)" with "__Require_noErr(<args>)" \
1284
+ replace "require_noerr_action(<b args>)" with "__Require_noErr_Action(<args>)" \
1285
+ replace "require_noerr_action_string(<b args>)" with "__Require_noErr_Action_String(<args>)" \
1286
+ replace "require_noerr_string(<b args>)" with "__Require_noErr_String(<args>)" \
1287
+ replace "require_string(<b args>)" with "__Require_String(<args>)" \
1288
+ replace "verify(<b args>)" with "__Verify(<args>)" \
1289
+ replace "verify_action(<b args>)" with "__Verify_Action(<args>)" \
1290
+ replace "verify_noerr(<b args>)" with "__Verify_noErr(<args>)" \
1291
+ replace "verify_noerr_action(<b args>)" with "__Verify_noErr_Action(<args>)" \
1292
+ replace "verify_noerr_string(<b args>)" with "__Verify_noErr_String(<args>)" \
1293
+ replace "verify_string(<b args>)" with "__Verify_String(<args>)" \
1294
+ replace "ncheck(<b args>)" with "__nCheck(<args>)" \
1295
+ replace "ncheck_string(<b args>)" with "__nCheck_String(<args>)" \
1296
+ replace "nrequire(<b args>)" with "__nRequire(<args>)" \
1297
+ replace "nrequire_action(<b args>)" with "__nRequire_Action(<args>)" \
1298
+ replace "nrequire_action_quiet(<b args>)" with "__nRequire_Action_Quiet(<args>)" \
1299
+ replace "nrequire_action_string(<b args>)" with "__nRequire_Action_String(<args>)" \
1300
+ replace "nrequire_quiet(<b args>)" with "__nRequire_Quiet(<args>)" \
1301
+ replace "nrequire_string(<b args>)" with "__nRequire_String(<args>)" \
1302
+ replace "nverify(<b args>)" with "__nVerify(<args>)" \
1303
+ replace "nverify_string(<b args>)" with "__nVerify_String(<args>)" \
1304
+ replace "require_action_quiet(<b args>)" with "__Require_Action_Quiet(<args>)" \
1305
+ replace "require_noerr_action_quiet(<b args>)" with "__Require_noErr_Action_Quiet(<args>)" \
1306
+ replace "require_noerr_quiet(<b args>)" with "__Require_noErr_Quiet(<args>)" \
1307
+ replace "require_quiet(<b args>)" with "__Require_Quiet(<args>)" \
1308
+ replace "check_compile_time(<b args>)" with "__Check_Compile_Time(<args>)" \
1309
+ replace "debug_string(<b args>)" with "__Debug_String(<args>)"
1310
+ *
1311
+ */
1312
+
1313
+ #ifndef __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES
1314
+ #if __has_include(<AssertMacrosInternal.h>)
1315
+ #include <AssertMacrosInternal.h>
1316
+ #else
1317
+ /* In macOS High Sierra and iOS 11, if we haven't set this yet, it now defaults to off. */
1318
+ #define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
1319
+ #endif
1320
+ #endif
1321
+
1322
+ #if __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES
1323
+
1324
+ #ifndef check
1325
+ #define check(assertion) __Check(assertion)
1326
+ #endif
1327
+
1328
+ #ifndef check_noerr
1329
+ #define check_noerr(errorCode) __Check_noErr(errorCode)
1330
+ #endif
1331
+
1332
+ #ifndef check_noerr_string
1333
+ #define check_noerr_string(errorCode, message) __Check_noErr_String(errorCode, message)
1334
+ #endif
1335
+
1336
+ #ifndef check_string
1337
+ #define check_string(assertion, message) __Check_String(assertion, message)
1338
+ #endif
1339
+
1340
+ #ifndef require
1341
+ #define require(assertion, exceptionLabel) __Require(assertion, exceptionLabel)
1342
+ #endif
1343
+
1344
+ #ifndef require_action
1345
+ #define require_action(assertion, exceptionLabel, action) __Require_Action(assertion, exceptionLabel, action)
1346
+ #endif
1347
+
1348
+ #ifndef require_action_string
1349
+ #define require_action_string(assertion, exceptionLabel, action, message) __Require_Action_String(assertion, exceptionLabel, action, message)
1350
+ #endif
1351
+
1352
+ #ifndef require_noerr
1353
+ #define require_noerr(errorCode, exceptionLabel) __Require_noErr(errorCode, exceptionLabel)
1354
+ #endif
1355
+
1356
+ #ifndef require_noerr_action
1357
+ #define require_noerr_action(errorCode, exceptionLabel, action) __Require_noErr_Action(errorCode, exceptionLabel, action)
1358
+ #endif
1359
+
1360
+ #ifndef require_noerr_action_string
1361
+ #define require_noerr_action_string(errorCode, exceptionLabel, action, message) __Require_noErr_Action_String(errorCode, exceptionLabel, action, message)
1362
+ #endif
1363
+
1364
+ #ifndef require_noerr_string
1365
+ #define require_noerr_string(errorCode, exceptionLabel, message) __Require_noErr_String(errorCode, exceptionLabel, message)
1366
+ #endif
1367
+
1368
+ #ifndef require_string
1369
+ #define require_string(assertion, exceptionLabel, message) __Require_String(assertion, exceptionLabel, message)
1370
+ #endif
1371
+
1372
+ #ifndef verify
1373
+ #define verify(assertion) __Verify(assertion)
1374
+ #endif
1375
+
1376
+ #ifndef verify_action
1377
+ #define verify_action(assertion, action) __Verify_Action(assertion, action)
1378
+ #endif
1379
+
1380
+ #ifndef verify_noerr
1381
+ #define verify_noerr(errorCode) __Verify_noErr(errorCode)
1382
+ #endif
1383
+
1384
+ #ifndef verify_noerr_action
1385
+ #define verify_noerr_action(errorCode, action) __Verify_noErr_Action(errorCode, action)
1386
+ #endif
1387
+
1388
+ #ifndef verify_noerr_string
1389
+ #define verify_noerr_string(errorCode, message) __Verify_noErr_String(errorCode, message)
1390
+ #endif
1391
+
1392
+ #ifndef verify_string
1393
+ #define verify_string(assertion, message) __Verify_String(assertion, message)
1394
+ #endif
1395
+
1396
+ #ifndef ncheck
1397
+ #define ncheck(assertion) __nCheck(assertion)
1398
+ #endif
1399
+
1400
+ #ifndef ncheck_string
1401
+ #define ncheck_string(assertion, message) __nCheck_String(assertion, message)
1402
+ #endif
1403
+
1404
+ #ifndef nrequire
1405
+ #define nrequire(assertion, exceptionLabel) __nRequire(assertion, exceptionLabel)
1406
+ #endif
1407
+
1408
+ #ifndef nrequire_action
1409
+ #define nrequire_action(assertion, exceptionLabel, action) __nRequire_Action(assertion, exceptionLabel, action)
1410
+ #endif
1411
+
1412
+ #ifndef nrequire_action_quiet
1413
+ #define nrequire_action_quiet(assertion, exceptionLabel, action) __nRequire_Action_Quiet(assertion, exceptionLabel, action)
1414
+ #endif
1415
+
1416
+ #ifndef nrequire_action_string
1417
+ #define nrequire_action_string(assertion, exceptionLabel, action, message) __nRequire_Action_String(assertion, exceptionLabel, action, message)
1418
+ #endif
1419
+
1420
+ #ifndef nrequire_quiet
1421
+ #define nrequire_quiet(assertion, exceptionLabel) __nRequire_Quiet(assertion, exceptionLabel)
1422
+ #endif
1423
+
1424
+ #ifndef nrequire_string
1425
+ #define nrequire_string(assertion, exceptionLabel, string) __nRequire_String(assertion, exceptionLabel, string)
1426
+ #endif
1427
+
1428
+ #ifndef nverify
1429
+ #define nverify(assertion) __nVerify(assertion)
1430
+ #endif
1431
+
1432
+ #ifndef nverify_string
1433
+ #define nverify_string(assertion, message) __nVerify_String(assertion, message)
1434
+ #endif
1435
+
1436
+ #ifndef require_action_quiet
1437
+ #define require_action_quiet(assertion, exceptionLabel, action) __Require_Action_Quiet(assertion, exceptionLabel, action)
1438
+ #endif
1439
+
1440
+ #ifndef require_noerr_action_quiet
1441
+ #define require_noerr_action_quiet(errorCode, exceptionLabel, action) __Require_noErr_Action_Quiet(errorCode, exceptionLabel, action)
1442
+ #endif
1443
+
1444
+ #ifndef require_noerr_quiet
1445
+ #define require_noerr_quiet(errorCode, exceptionLabel) __Require_noErr_Quiet(errorCode, exceptionLabel)
1446
+ #endif
1447
+
1448
+ #ifndef require_quiet
1449
+ #define require_quiet(assertion, exceptionLabel) __Require_Quiet(assertion, exceptionLabel)
1450
+ #endif
1451
+
1452
+ #ifndef check_compile_time
1453
+ #define check_compile_time( expr ) __Check_Compile_Time( expr )
1454
+ #endif
1455
+
1456
+ #ifndef debug_string
1457
+ #define debug_string(message) __Debug_String(message)
1458
+ #endif
1459
+
1460
+ #endif /* ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES */
1461
+
1462
+
1463
+ #endif /* __ASSERTMACROS__ */