@swiftbrowser/wasm-sdk-foundation 0.0.0-stage → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/LICENSE.txt +1445 -0
  2. package/README.md +24 -2
  3. package/files.json +366 -0
  4. package/package.json +18 -4
  5. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
  6. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
  7. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
  8. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
  9. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
  10. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
  11. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
  12. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
  13. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
  14. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
  15. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
  16. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
  17. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
  18. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
  19. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
  20. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
  21. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
  22. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
  23. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
  24. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
  25. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
  26. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
  27. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
  28. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
  29. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
  30. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
  31. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
  32. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
  33. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
  34. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
  35. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
  36. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
  37. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
  38. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
  39. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
  40. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
  41. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
  42. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
  43. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
  44. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
  45. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
  46. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
  47. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
  48. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
  49. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
  50. package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
  51. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
  52. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
  53. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
  54. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
  55. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
  56. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
  57. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
  58. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
  59. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
  60. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
  61. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
  62. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
  63. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
  64. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
  65. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
  66. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
  67. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
  68. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
  69. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
  70. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
  71. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
  72. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
  73. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
  74. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
  75. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
  76. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
  77. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
  78. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
  79. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
  80. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
  81. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
  82. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
  83. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
  84. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
  85. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
  86. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
  87. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
  88. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
  89. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
  90. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
  91. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
  92. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
  93. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
  94. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
  95. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
  96. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
  97. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
  98. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
  99. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
  100. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
  101. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
  102. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
  103. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
  104. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
  105. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
  106. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
  107. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
  108. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
  109. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
  110. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
  111. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
  112. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
  113. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
  114. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
  115. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
  116. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
  117. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
  118. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
  119. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
  120. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
  121. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
  122. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
  123. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
  124. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
  125. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
  126. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
  127. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
  128. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
  129. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
  130. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
  131. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
  132. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
  133. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
  134. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
  135. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
  136. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
  137. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
  138. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
  139. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
  140. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
  141. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
  142. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
  143. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
  144. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
  145. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
  146. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
  147. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
  148. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
  149. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
  150. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
  151. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
  152. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
  153. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
  154. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
  155. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
  156. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
  157. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
  158. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
  159. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
  160. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
  161. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
  162. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
  163. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
  164. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
  165. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
  166. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
  167. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
  168. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
  169. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
  170. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
  171. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
  172. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
  173. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
  174. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
  175. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
  176. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
  177. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
  178. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
  179. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
  180. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
  181. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
  182. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
  183. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
  184. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
  185. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
  186. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
  187. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
  188. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
  189. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
  190. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
  191. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
  192. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
  193. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
  194. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
  195. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
  196. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
  197. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
  198. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
  199. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
  200. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
  201. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
  202. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
  203. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
  204. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
  205. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
  206. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
  207. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
  208. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
  209. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
  210. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
  211. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
  212. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
  213. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
  214. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
  215. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
  216. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
  217. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
  218. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
  219. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
  220. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
  221. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
  222. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
  223. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
  224. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
  225. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
  226. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
  227. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
  228. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
  229. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
  230. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
  231. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
  232. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
  233. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
  234. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
  235. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
  236. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
  237. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
  238. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
  239. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
  240. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
  241. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
  242. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
  243. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
  244. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
  245. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
  246. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
  247. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
  248. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
  249. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
  250. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
  251. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
  252. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
  253. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
  254. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
  255. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
  256. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
  257. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
  258. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
  259. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
  260. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
  261. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
  262. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
  263. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
  264. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
  265. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
  266. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
  267. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
  268. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
  269. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
  270. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
  271. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
  272. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
  273. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
  274. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
  275. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
  276. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
  277. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
  278. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
  279. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
  280. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
  281. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
  282. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
  283. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
  284. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
  285. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
  286. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
  287. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
  288. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
  289. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
  290. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
  291. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
  292. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
  293. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
  294. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
  295. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
  296. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
  297. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
  298. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
  299. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
  300. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
  301. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
  302. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
  303. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
  304. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
  305. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
  306. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
  307. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
  308. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
  309. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
  310. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
  311. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
  312. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
  313. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
  314. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
  315. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
  316. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
  317. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
  318. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
  319. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
  320. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
  321. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
  322. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
  323. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
  324. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
  325. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
  326. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
  327. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
  328. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
  329. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
  330. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
  331. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
  332. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
  333. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
  334. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
  335. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
  336. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
  337. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
  338. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
  339. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
  340. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
  341. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
  342. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
  343. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
  344. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
  345. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
  346. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
  347. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
  348. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
  349. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
  350. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
  351. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
  352. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
  353. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
  354. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
  355. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
  356. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  357. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  358. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  359. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  360. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
  361. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
  362. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
  363. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
  364. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
  365. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
  366. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
  367. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
  368. package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
@@ -0,0 +1,226 @@
1
+ // © 2023 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+
4
+ #ifndef ULOCALE_H
5
+ #define ULOCALE_H
6
+
7
+ #include <_foundation_unicode/localpointer.h>
8
+ #include <_foundation_unicode/uenum.h>
9
+ #include <_foundation_unicode/utypes.h>
10
+
11
+ /**
12
+ * \file
13
+ * \brief C API: Locale ID functionality similar to C++ class Locale
14
+ */
15
+
16
+ /**
17
+ * Opaque C service object type for the locale API
18
+ * @stable ICU 74
19
+ */
20
+ struct ULocale;
21
+
22
+ /**
23
+ * C typedef for struct ULocale.
24
+ * @stable ICU 74
25
+ */
26
+ typedef struct ULocale ULocale;
27
+
28
+ /**
29
+ * Constructs an ULocale from the locale ID.
30
+ * The created ULocale should be destroyed by calling
31
+ * ulocale_close();
32
+ * @param localeID the locale, a const char * pointer (need not be terminated when
33
+ * the length is non-negative)
34
+ * @param length the length of the locale; if negative, then the locale need to be
35
+ * null terminated.
36
+ * @param err the error code
37
+ * @return the locale.
38
+ *
39
+ * @stable ICU 74
40
+ */
41
+ U_CAPI ULocale* U_EXPORT2
42
+ ulocale_openForLocaleID(const char* localeID, int32_t length, UErrorCode* err);
43
+
44
+ /**
45
+ * Constructs an ULocale from the provided IETF BCP 47 language tag.
46
+ * The created ULocale should be destroyed by calling
47
+ * ulocale_close();
48
+ * @param tag the language tag, defined as IETF BCP 47 language tag, const
49
+ * char* pointer (need not be terminated when the length is non-negative)
50
+ * @param length the length of the tag; if negative, then the tag need to be
51
+ * null terminated.
52
+ * @param err the error code
53
+ * @return the locale.
54
+ *
55
+ * @stable ICU 74
56
+ */
57
+ U_CAPI ULocale* U_EXPORT2
58
+ ulocale_openForLanguageTag(const char* tag, int32_t length, UErrorCode* err);
59
+
60
+ /**
61
+ * Close the locale and destroy it's internal states.
62
+ *
63
+ * @param locale the locale
64
+ * @stable ICU 74
65
+ */
66
+ U_CAPI void U_EXPORT2
67
+ ulocale_close(ULocale* locale);
68
+
69
+ /**
70
+ * Returns the locale's ISO-639 language code.
71
+ *
72
+ * @param locale the locale
73
+ * @return the language code of the locale.
74
+ * @stable ICU 74
75
+ */
76
+ U_CAPI const char* U_EXPORT2
77
+ ulocale_getLanguage(const ULocale* locale);
78
+
79
+ /**
80
+ * Returns the locale's ISO-15924 abbreviation script code.
81
+ *
82
+ * @param locale the locale
83
+ * @return A pointer to the script.
84
+ * @stable ICU 74
85
+ */
86
+ U_CAPI const char* U_EXPORT2
87
+ ulocale_getScript(const ULocale* locale);
88
+
89
+ /**
90
+ * Returns the locale's ISO-3166 region code.
91
+ *
92
+ * @param locale the locale
93
+ * @return A pointer to the region.
94
+ * @stable ICU 74
95
+ */
96
+ U_CAPI const char* U_EXPORT2
97
+ ulocale_getRegion(const ULocale* locale);
98
+
99
+ /**
100
+ * Returns the locale's variant code.
101
+ *
102
+ * @param locale the locale
103
+ * @return A pointer to the variant.
104
+ * @stable ICU 74
105
+ */
106
+ U_CAPI const char* U_EXPORT2
107
+ ulocale_getVariant(const ULocale* locale);
108
+
109
+ /**
110
+ * Returns the programmatic name of the entire locale, with the language,
111
+ * country and variant separated by underbars. If a field is missing, up
112
+ * to two leading underbars will occur. Example: "en", "de_DE", "en_US_WIN",
113
+ * "de__POSIX", "fr__MAC", "__MAC", "_MT", "_FR_EURO"
114
+ *
115
+ * @param locale the locale
116
+ * @return A pointer to "name".
117
+ * @stable ICU 74
118
+ */
119
+ U_CAPI const char* U_EXPORT2
120
+ ulocale_getLocaleID(const ULocale* locale);
121
+
122
+ /**
123
+ * Returns the programmatic name of the entire locale as ulocale_getLocaleID()
124
+ * would return, but without keywords.
125
+ *
126
+ * @param locale the locale
127
+ * @return A pointer to "base name".
128
+ * @stable ICU 74
129
+ */
130
+ U_CAPI const char* U_EXPORT2
131
+ ulocale_getBaseName(const ULocale* locale);
132
+
133
+ /**
134
+ * Gets the bogus state. Locale object can be bogus if it doesn't exist
135
+ *
136
+ * @param locale the locale
137
+ * @return false if it is a real locale, true if it is a bogus locale
138
+ * @stable ICU 74
139
+ */
140
+ U_CAPI bool U_EXPORT2
141
+ ulocale_isBogus(const ULocale* locale);
142
+
143
+ /**
144
+ * Gets the list of keywords for the specified locale.
145
+ *
146
+ * @param locale the locale
147
+ * @param err the error code
148
+ * @return pointer to UEnumeration, or nullptr if there are no keywords.
149
+ * Client must call uenum_close() to dispose the returned value.
150
+ * @stable ICU 74
151
+ */
152
+ U_CAPI UEnumeration* U_EXPORT2
153
+ ulocale_getKeywords(const ULocale* locale, UErrorCode *err);
154
+
155
+ /**
156
+ * Gets the list of unicode keywords for the specified locale.
157
+ *
158
+ * @param locale the locale
159
+ * @param err the error code
160
+ * @return pointer to UEnumeration, or nullptr if there are no keywords.
161
+ * Client must call uenum_close() to dispose the returned value.
162
+ * @stable ICU 74
163
+ */
164
+ U_CAPI UEnumeration* U_EXPORT2
165
+ ulocale_getUnicodeKeywords(const ULocale* locale, UErrorCode *err);
166
+
167
+ /**
168
+ * Gets the value for a keyword.
169
+ *
170
+ * This uses legacy keyword=value pairs, like "collation=phonebook".
171
+ *
172
+ * @param locale the locale
173
+ * @param keyword the keyword, a const char * pointer (need not be
174
+ * terminated when the length is non-negative)
175
+ * @param keywordLength the length of the keyword; if negative, then the
176
+ * keyword need to be null terminated.
177
+ * @param valueBuffer The buffer to receive the value.
178
+ * @param valueBufferCapacity The capacity of receiving valueBuffer.
179
+ * @param err the error code
180
+ * @stable ICU 74
181
+ */
182
+ U_CAPI int32_t U_EXPORT2
183
+ ulocale_getKeywordValue(
184
+ const ULocale* locale, const char* keyword, int32_t keywordLength,
185
+ char* valueBuffer, int32_t valueBufferCapacity, UErrorCode *err);
186
+
187
+ /**
188
+ * Gets the Unicode value for a Unicode keyword.
189
+ *
190
+ * This uses Unicode key-value pairs, like "co-phonebk".
191
+ *
192
+ * @param locale the locale
193
+ * @param keyword the Unicode keyword, a const char * pointer (need not be
194
+ * terminated when the length is non-negative)
195
+ * @param keywordLength the length of the Unicode keyword; if negative,
196
+ * then the keyword need to be null terminated.
197
+ * @param valueBuffer The buffer to receive the Unicode value.
198
+ * @param valueBufferCapacity The capacity of receiving valueBuffer.
199
+ * @param err the error code
200
+ * @stable ICU 74
201
+ */
202
+ U_CAPI int32_t U_EXPORT2
203
+ ulocale_getUnicodeKeywordValue(
204
+ const ULocale* locale, const char* keyword, int32_t keywordLength,
205
+ char* valueBuffer, int32_t valueBufferCapacity, UErrorCode *err);
206
+
207
+ #if U_SHOW_CPLUSPLUS_API
208
+
209
+ U_NAMESPACE_BEGIN
210
+
211
+ /**
212
+ * \class LocalULocalePointer
213
+ * "Smart pointer" class, closes a ULocale via ulocale_close().
214
+ * For most methods see the LocalPointerBase base class.
215
+ *
216
+ * @see LocalPointerBase
217
+ * @see LocalPointer
218
+ * @stable ICU 74
219
+ */
220
+ U_DEFINE_LOCAL_OPEN_POINTER(LocalULocalePointer, ULocale, ulocale_close);
221
+
222
+ U_NAMESPACE_END
223
+
224
+ #endif /* U_SHOW_CPLUSPLUS_API */
225
+
226
+ #endif /*_ULOCALE */
@@ -0,0 +1,437 @@
1
+ // © 2023 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ #ifndef __ULOCBUILDER_H__
4
+ #define __ULOCBUILDER_H__
5
+
6
+ #include <_foundation_unicode/localpointer.h>
7
+ #include <_foundation_unicode/ulocale.h>
8
+ #include <_foundation_unicode/utypes.h>
9
+
10
+ /**
11
+ * \file
12
+ * \brief C API: Builder API for Locale
13
+ */
14
+
15
+ /**
16
+ * Opaque C service object type for the locale builder API
17
+ * @stable ICU 74
18
+ */
19
+ struct ULocaleBuilder;
20
+
21
+ /**
22
+ * C typedef for struct ULocaleBuilder.
23
+ * @stable ICU 74
24
+ */
25
+ typedef struct ULocaleBuilder ULocaleBuilder;
26
+
27
+ /**
28
+ * <code>ULocaleBuilder</code> is used to build valid <code>locale</code> id
29
+ * string or IETF BCP 47 language tag from values configured by the setters.
30
+ * The <code>ULocaleBuilder</code> checks if a value configured by a
31
+ * setter satisfies the syntax requirements defined by the <code>Locale</code>
32
+ * class. A string of Locale created by a <code>ULocaleBuilder</code> is
33
+ * well-formed and can be transformed to a well-formed IETF BCP 47 language tag
34
+ * without losing information.
35
+ *
36
+ * <p>The following example shows how to create a <code>locale</code> string
37
+ * with the <code>ULocaleBuilder</code>.
38
+ * <blockquote>
39
+ * <pre>
40
+ * UErrorCode err = U_ZERO_ERROR;
41
+ * char buffer[ULOC_FULLNAME_CAPACITY];
42
+ * ULocaleBuilder* builder = ulocbld_open();
43
+ * ulocbld_setLanguage(builder, "sr", -1);
44
+ * ulocbld_setScript(builder, "Latn", -1);
45
+ * ulocbld_setRegion(builder, "RS", -1);
46
+ * int32_t length = ulocbld_buildLocaleID(
47
+ * builder, buffer, ULOC_FULLNAME_CAPACITY, &error);
48
+ * ulocbld_close(builder);
49
+ * </pre>
50
+ * </blockquote>
51
+ *
52
+ * <p>ULocaleBuilders can be reused; <code>ulocbld_clear()</code> resets all
53
+ * fields to their default values.
54
+ *
55
+ * <p>ULocaleBuilder tracks errors in an internal UErrorCode. For all setters,
56
+ * except ulocbld_setLanguageTag and ulocbld_setLocale, ULocaleBuilder will return immediately
57
+ * if the internal UErrorCode is in error state.
58
+ * To reset internal state and error code, call clear method.
59
+ * The ulocbld_setLanguageTag and setLocale method will first clear the internal
60
+ * UErrorCode, then track the error of the validation of the input parameter
61
+ * into the internal UErrorCode.
62
+ *
63
+ * @stable ICU 74
64
+ */
65
+
66
+ /**
67
+ * Constructs an empty ULocaleBuilder. The default value of all
68
+ * fields, extensions, and private use information is the
69
+ * empty string. The created builder should be destroyed by calling
70
+ * ulocbld_close();
71
+ *
72
+ * @stable ICU 74
73
+ */
74
+ U_CAPI ULocaleBuilder* U_EXPORT2
75
+ ulocbld_open(void);
76
+
77
+ /**
78
+ * Close the builder and destroy it's internal states.
79
+ * @param builder the builder
80
+ * @stable ICU 74
81
+ */
82
+ U_CAPI void U_EXPORT2
83
+ ulocbld_close(ULocaleBuilder* builder);
84
+
85
+ /**
86
+ * Resets the <code>ULocaleBuilder</code> to match the provided
87
+ * <code>locale</code>. Existing state is discarded.
88
+ *
89
+ * <p>All fields of the locale must be well-formed.
90
+ * <p>This method clears the internal UErrorCode.
91
+ *
92
+ * @param builder the builder
93
+ * @param locale the locale, a const char * pointer (need not be terminated when
94
+ * the length is non-negative)
95
+ * @param length the length of the locale; if negative, then the locale need to be
96
+ * null terminated,
97
+ *
98
+ * @stable ICU 74
99
+ */
100
+ U_CAPI void U_EXPORT2
101
+ ulocbld_setLocale(ULocaleBuilder* builder, const char* locale, int32_t length);
102
+
103
+ /**
104
+ * Resets the <code>ULocaleBuilder</code> to match the provided
105
+ * <code>ULocale</code>. Existing state is discarded.
106
+ *
107
+ * <p>The locale must be not bogus.
108
+ * <p>This method clears the internal UErrorCode.
109
+ *
110
+ * @param builder the builder.
111
+ * @param locale the locale, a ULocale* pointer. The builder adopts the locale
112
+ * after the call and the client must not delete it.
113
+ *
114
+ * @stable ICU 74
115
+ */
116
+ U_CAPI void U_EXPORT2
117
+ ulocbld_adoptULocale(ULocaleBuilder* builder, ULocale* locale);
118
+
119
+ /**
120
+ * Resets the ULocaleBuilder to match the provided IETF BCP 47 language tag.
121
+ * Discards the existing state.
122
+ * The empty string causes the builder to be reset, like {@link #ulocbld_clear}.
123
+ * Legacy language tags (marked as “Type: grandfathered” in BCP 47)
124
+ * are converted to their canonical form before being processed.
125
+ * Otherwise, the <code>language tag</code> must be well-formed,
126
+ * or else the ulocbld_buildLocaleID() and ulocbld_buildLanguageTag() methods
127
+ * will later report an U_ILLEGAL_ARGUMENT_ERROR.
128
+ *
129
+ * <p>This method clears the internal UErrorCode.
130
+ *
131
+ * @param builder the builder
132
+ * @param tag the language tag, defined as IETF BCP 47 language tag, a
133
+ * const char * pointer (need not be terminated when
134
+ * the length is non-negative)
135
+ * @param length the length of the tag; if negative, then the tag need to be
136
+ * null terminated,
137
+ * @stable ICU 74
138
+ */
139
+ U_CAPI void U_EXPORT2
140
+ ulocbld_setLanguageTag(ULocaleBuilder* builder, const char* tag, int32_t length);
141
+
142
+ /**
143
+ * Sets the language. If <code>language</code> is the empty string, the
144
+ * language in this <code>ULocaleBuilder</code> is removed. Otherwise, the
145
+ * <code>language</code> must be well-formed, or else the ulocbld_buildLocaleID()
146
+ * and ulocbld_buildLanguageTag() methods will
147
+ * later report an U_ILLEGAL_ARGUMENT_ERROR.
148
+ *
149
+ * <p>The syntax of language value is defined as
150
+ * [unicode_language_subtag](http://www.unicode.org/reports/tr35/tr35.html#unicode_language_subtag).
151
+ *
152
+ * @param builder the builder
153
+ * @param language the language, a const char * pointer (need not be terminated when
154
+ * the length is non-negative)
155
+ * @param length the length of the language; if negative, then the language need to be
156
+ * null terminated,
157
+ * @stable ICU 74
158
+ */
159
+ U_CAPI void U_EXPORT2
160
+ ulocbld_setLanguage(ULocaleBuilder* builder, const char* language, int32_t length);
161
+
162
+ /**
163
+ * Sets the script. If <code>script</code> is the empty string, the script in
164
+ * this <code>ULocaleBuilder</code> is removed.
165
+ * Otherwise, the <code>script</code> must be well-formed, or else the
166
+ * ulocbld_buildLocaleID() and ulocbld_buildLanguageTag() methods will later
167
+ * report an U_ILLEGAL_ARGUMENT_ERROR.
168
+ *
169
+ * <p>The script value is a four-letter script code as
170
+ * [unicode_script_subtag](http://www.unicode.org/reports/tr35/tr35.html#unicode_script_subtag)
171
+ * defined by ISO 15924
172
+ *
173
+ * @param builder the builder
174
+ * @param script the script, a const char * pointer (need not be terminated when
175
+ * the length is non-negative)
176
+ * @param length the length of the script; if negative, then the script need to be
177
+ * null terminated,
178
+ * @stable ICU 74
179
+ */
180
+ U_CAPI void U_EXPORT2
181
+ ulocbld_setScript(ULocaleBuilder* builder, const char* script, int32_t length);
182
+
183
+ /**
184
+ * Sets the region. If region is the empty string, the region in this
185
+ * <code>ULocaleBuilder</code> is removed. Otherwise, the <code>region</code>
186
+ * must be well-formed, or else the ulocbld_buildLocaleID() and
187
+ * ulocbld_buildLanguageTag() methods will later report an
188
+ * U_ILLEGAL_ARGUMENT_ERROR.
189
+ *
190
+ * <p>The region value is defined by
191
+ * [unicode_region_subtag](http://www.unicode.org/reports/tr35/tr35.html#unicode_region_subtag)
192
+ * as a two-letter ISO 3166 code or a three-digit UN M.49 area code.
193
+ *
194
+ * <p>The region value in the <code>Locale</code> created by the
195
+ * <code>ULocaleBuilder</code> is always normalized to upper case.
196
+ *
197
+ * @param builder the builder
198
+ * @param region the region, a const char * pointer (need not be terminated when
199
+ * the length is non-negative)
200
+ * @param length the length of the region; if negative, then the region need to be
201
+ * null terminated,
202
+ * @stable ICU 74
203
+ */
204
+ U_CAPI void U_EXPORT2
205
+ ulocbld_setRegion(ULocaleBuilder* builder, const char* region, int32_t length);
206
+
207
+ /**
208
+ * Sets the variant. If variant is the empty string, the variant in this
209
+ * <code>ULocaleBuilder</code> is removed. Otherwise, the <code>variant</code>
210
+ * must be well-formed, or else the ulocbld_buildLocaleID() and
211
+ * ulocbld_buildLanguageTag() methods will later report an
212
+ * U_ILLEGAL_ARGUMENT_ERROR.
213
+ *
214
+ * <p><b>Note:</b> This method checks if <code>variant</code>
215
+ * satisfies the
216
+ * [unicode_variant_subtag](http://www.unicode.org/reports/tr35/tr35.html#unicode_variant_subtag)
217
+ * syntax requirements, and normalizes the value to lowercase letters. However,
218
+ * the <code>Locale</code> class does not impose any syntactic
219
+ * restriction on variant. To set an ill-formed variant, use a Locale constructor.
220
+ * If there are multiple unicode_variant_subtag, the caller must concatenate
221
+ * them with '-' as separator (ex: "foobar-fibar").
222
+ *
223
+ * @param builder the builder
224
+ * @param variant the variant, a const char * pointer (need not be terminated when
225
+ * the length is non-negative)
226
+ * @param length the length of the variant; if negative, then the variant need to be
227
+ * null terminated,
228
+ * @stable ICU 74
229
+ */
230
+ U_CAPI void U_EXPORT2
231
+ ulocbld_setVariant(ULocaleBuilder* builder, const char* variant, int32_t length);
232
+
233
+ /**
234
+ * Sets the extension for the given key. If the value is the empty string,
235
+ * the extension is removed. Otherwise, the <code>key</code> and
236
+ * <code>value</code> must be well-formed, or else the ulocbld_buildLocaleID()
237
+ * and ulocbld_buildLanguageTag() methods will
238
+ * later report an U_ILLEGAL_ARGUMENT_ERROR.
239
+ *
240
+ * <p><b>Note:</b> The key ('u') is used for the Unicode locale extension.
241
+ * Setting a value for this key replaces any existing Unicode locale key/type
242
+ * pairs with those defined in the extension.
243
+ *
244
+ * <p><b>Note:</b> The key ('x') is used for the private use code. To be
245
+ * well-formed, the value for this key needs only to have subtags of one to
246
+ * eight alphanumeric characters, not two to eight as in the general case.
247
+ *
248
+ * @param builder the builder
249
+ * @param key the extension key
250
+ * @param value the value, a const char * pointer (need not be terminated when
251
+ * the length is non-negative)
252
+ * @param length the length of the value; if negative, then the value need to be
253
+ * null terminated,
254
+ * @stable ICU 74
255
+ */
256
+ U_CAPI void U_EXPORT2
257
+ ulocbld_setExtension(ULocaleBuilder* builder, char key, const char* value, int32_t length);
258
+
259
+ /**
260
+ * Sets the Unicode locale keyword type for the given key. If the type
261
+ * StringPiece is constructed with a nullptr, the keyword is removed.
262
+ * If the type is the empty string, the keyword is set without type subtags.
263
+ * Otherwise, the key and type must be well-formed, or else the
264
+ * ulocbld_buildLocaleID() and ulocbld_buildLanguageTag() methods will later
265
+ * report an U_ILLEGAL_ARGUMENT_ERROR.
266
+ *
267
+ * <p>Keys and types are converted to lower case.
268
+ *
269
+ * <p><b>Note</b>:Setting the 'u' extension via {@link #ulocbld_setExtension}
270
+ * replaces all Unicode locale keywords with those defined in the
271
+ * extension.
272
+ *
273
+ * @param builder the builder
274
+ * @param key the Unicode locale key, a const char * pointer (need not be
275
+ * terminated when the length is non-negative)
276
+ * @param keyLength the length of the key; if negative, then the key need to be
277
+ * null terminated,
278
+ * @param type the Unicode locale type, a const char * pointer (need not be
279
+ * terminated when the length is non-negative)
280
+ * @param typeLength the length of the type; if negative, then the type need to
281
+ * be null terminated,
282
+ * @return This builder.
283
+ * @stable ICU 74
284
+ */
285
+ U_CAPI void U_EXPORT2
286
+ ulocbld_setUnicodeLocaleKeyword(ULocaleBuilder* builder,
287
+ const char* key, int32_t keyLength, const char* type, int32_t typeLength);
288
+
289
+ /**
290
+ * Adds a unicode locale attribute, if not already present, otherwise
291
+ * has no effect. The attribute must not be empty string and must be
292
+ * well-formed or U_ILLEGAL_ARGUMENT_ERROR will be set to status
293
+ * during the ulocbld_buildLocaleID() and ulocbld_buildLanguageTag() calls.
294
+ *
295
+ * @param builder the builder
296
+ * @param attribute the attribute, a const char * pointer (need not be
297
+ * terminated when the length is non-negative)
298
+ * @param length the length of the attribute; if negative, then the attribute
299
+ * need to be null terminated,
300
+ * @stable ICU 74
301
+ */
302
+ U_CAPI void U_EXPORT2
303
+ ulocbld_addUnicodeLocaleAttribute(
304
+ ULocaleBuilder* builder, const char* attribute, int32_t length);
305
+
306
+ /**
307
+ * Removes a unicode locale attribute, if present, otherwise has no
308
+ * effect. The attribute must not be empty string and must be well-formed
309
+ * or U_ILLEGAL_ARGUMENT_ERROR will be set to status during the ulocbld_buildLocaleID()
310
+ * and ulocbld_buildLanguageTag() calls.
311
+ *
312
+ * <p>Attribute comparison for removal is case-insensitive.
313
+ *
314
+ * @param builder the builder
315
+ * @param attribute the attribute, a const char * pointer (need not be
316
+ * terminated when the length is non-negative)
317
+ * @param length the length of the attribute; if negative, then the attribute
318
+ * need to be null terminated,
319
+ * @stable ICU 74
320
+ */
321
+ U_CAPI void U_EXPORT2
322
+ ulocbld_removeUnicodeLocaleAttribute(
323
+ ULocaleBuilder* builder, const char* attribute, int32_t length);
324
+
325
+ /**
326
+ * Resets the builder to its initial, empty state.
327
+ * <p>This method clears the internal UErrorCode.
328
+ *
329
+ * @param builder the builder
330
+ * @stable ICU 74
331
+ */
332
+ U_CAPI void U_EXPORT2
333
+ ulocbld_clear(ULocaleBuilder* builder);
334
+
335
+ /**
336
+ * Resets the extensions to their initial, empty state.
337
+ * Language, script, region and variant are unchanged.
338
+ *
339
+ * @param builder the builder
340
+ * @stable ICU 74
341
+ */
342
+ U_CAPI void U_EXPORT2
343
+ ulocbld_clearExtensions(ULocaleBuilder* builder);
344
+
345
+ /**
346
+ * Build the LocaleID string from the fields set on this builder.
347
+ * If any set methods or during the ulocbld_buildLocaleID() call require memory
348
+ * allocation but fail U_MEMORY_ALLOCATION_ERROR will be set to status.
349
+ * If any of the fields set by the setters are not well-formed, the status
350
+ * will be set to U_ILLEGAL_ARGUMENT_ERROR. The state of the builder will
351
+ * not change after the ulocbld_buildLocaleID() call and the caller is
352
+ * free to keep using the same builder to build more locales.
353
+ *
354
+ * @param builder the builder
355
+ * @param locale the locale id
356
+ * @param localeCapacity the size of the locale buffer to store the locale id
357
+ * @param err the error code
358
+ * @return the length of the locale id in buffer
359
+ * @stable ICU 74
360
+ */
361
+ U_CAPI int32_t U_EXPORT2
362
+ ulocbld_buildLocaleID(ULocaleBuilder* builder, char* locale,
363
+ int32_t localeCapacity, UErrorCode* err);
364
+
365
+ /**
366
+ * Build the ULocale object from the fields set on this builder.
367
+ * If any set methods or during the ulocbld_buildULocale() call require memory
368
+ * allocation but fail U_MEMORY_ALLOCATION_ERROR will be set to status.
369
+ * If any of the fields set by the setters are not well-formed, the status
370
+ * will be set to U_ILLEGAL_ARGUMENT_ERROR. The state of the builder will
371
+ * not change after the ulocbld_buildULocale() call and the caller is
372
+ * free to keep using the same builder to build more locales.
373
+ *
374
+ * @param builder the builder.
375
+ * @param err the error code.
376
+ * @return the locale, a ULocale* pointer. The created ULocale must be
377
+ * destroyed by calling {@link ulocale_close}.
378
+ * @stable ICU 74
379
+ */
380
+ U_CAPI ULocale* U_EXPORT2
381
+ ulocbld_buildULocale(ULocaleBuilder* builder, UErrorCode* err);
382
+
383
+ /**
384
+ * Build the IETF BCP 47 language tag string from the fields set on this builder.
385
+ * If any set methods or during the ulocbld_buildLanguageTag() call require memory
386
+ * allocation but fail U_MEMORY_ALLOCATION_ERROR will be set to status.
387
+ * If any of the fields set by the setters are not well-formed, the status
388
+ * will be set to U_ILLEGAL_ARGUMENT_ERROR. The state of the builder will
389
+ * not change after the ulocbld_buildLanguageTag() call and the caller is free
390
+ * to keep using the same builder to build more locales.
391
+ *
392
+ * @param builder the builder
393
+ * @param language the language tag
394
+ * @param languageCapacity the size of the language buffer to store the language
395
+ * tag
396
+ * @param err the error code
397
+ * @return the length of the language tag in buffer
398
+ * @stable ICU 74
399
+ */
400
+ U_CAPI int32_t U_EXPORT2
401
+ ulocbld_buildLanguageTag(ULocaleBuilder* builder, char* language,
402
+ int32_t languageCapacity, UErrorCode* err);
403
+
404
+ /**
405
+ * Sets the UErrorCode if an error occurred while recording sets.
406
+ * Preserves older error codes in the outErrorCode.
407
+ *
408
+ * @param builder the builder
409
+ * @param outErrorCode Set to an error code that occurred while setting subtags.
410
+ * Unchanged if there is no such error or if outErrorCode
411
+ * already contained an error.
412
+ * @return true if U_FAILURE(*outErrorCode)
413
+ * @stable ICU 74
414
+ */
415
+ U_CAPI UBool U_EXPORT2
416
+ ulocbld_copyErrorTo(const ULocaleBuilder* builder, UErrorCode *outErrorCode);
417
+
418
+ #if U_SHOW_CPLUSPLUS_API
419
+
420
+ U_NAMESPACE_BEGIN
421
+
422
+ /**
423
+ * \class LocalULocaleBuilderPointer
424
+ * "Smart pointer" class, closes a ULocaleBuilder via ulocbld_close().
425
+ * For most methods see the LocalPointerBase base class.
426
+ *
427
+ * @see LocalPointerBase
428
+ * @see LocalPointer
429
+ * @stable ICU 74
430
+ */
431
+ U_DEFINE_LOCAL_OPEN_POINTER(LocalULocaleBuilderPointer, ULocaleBuilder, ulocbld_close);
432
+
433
+ U_NAMESPACE_END
434
+
435
+ #endif /* U_SHOW_CPLUSPLUS_API */
436
+
437
+ #endif // __ULOCBUILDER_H__