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

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,912 @@
1
+ // © 2016 and later: Unicode, Inc. and others.
2
+ // License & terms of use: http://www.unicode.org/copyright.html
3
+ /*
4
+ **********************************************************************
5
+ * Copyright (C) 1997-2016, International Business Machines
6
+ * Corporation and others. All Rights Reserved.
7
+ **********************************************************************
8
+ *
9
+ * File URES.H (formerly CRESBUND.H)
10
+ *
11
+ * Modification History:
12
+ *
13
+ * Date Name Description
14
+ * 04/01/97 aliu Creation.
15
+ * 02/22/99 damiba overhaul.
16
+ * 04/04/99 helena Fixed internal header inclusion.
17
+ * 04/15/99 Madhu Updated Javadoc
18
+ * 06/14/99 stephen Removed functions taking a filename suffix.
19
+ * 07/20/99 stephen Language-independent typedef to void*
20
+ * 11/09/99 weiv Added ures_getLocale()
21
+ * 06/24/02 weiv Added support for resource sharing
22
+ ******************************************************************************
23
+ */
24
+
25
+ #ifndef URES_H
26
+ #define URES_H
27
+
28
+ #include <_foundation_unicode/char16ptr.h>
29
+ #include <_foundation_unicode/utypes.h>
30
+ #include <_foundation_unicode/uloc.h>
31
+
32
+ #if U_SHOW_CPLUSPLUS_API
33
+ #include <_foundation_unicode/localpointer.h>
34
+ #endif // U_SHOW_CPLUSPLUS_API
35
+
36
+ /**
37
+ * \file
38
+ * \brief C API: Resource Bundle
39
+ *
40
+ * <h2>C API: Resource Bundle</h2>
41
+ *
42
+ * C API representing a collection of resource information pertaining to a given
43
+ * locale. A resource bundle provides a way of accessing locale- specific information in
44
+ * a data file. You create a resource bundle that manages the resources for a given
45
+ * locale and then ask it for individual resources.
46
+ * <P>
47
+ * Resource bundles in ICU4C are currently defined using text files which conform to the following
48
+ * <a href="https://github.com/unicode-org/icu-docs/blob/main/design/bnf_rb.txt">BNF definition</a>.
49
+ * More on resource bundle concepts and syntax can be found in the
50
+ * <a href="https://unicode-org.github.io/icu/userguide/locale/resources">Users Guide</a>.
51
+ * <P>
52
+ */
53
+
54
+ /**
55
+ * UResourceBundle is an opaque type for handles for resource bundles in C APIs.
56
+ * @stable ICU 2.0
57
+ */
58
+ struct UResourceBundle;
59
+
60
+ /**
61
+ * @stable ICU 2.0
62
+ */
63
+ typedef struct UResourceBundle UResourceBundle;
64
+
65
+ /**
66
+ * Numeric constants for types of resource items.
67
+ * @see ures_getType
68
+ * @stable ICU 2.0
69
+ */
70
+ typedef enum {
71
+ /** Resource type constant for "no resource". @stable ICU 2.6 */
72
+ URES_NONE=-1,
73
+
74
+ /** Resource type constant for 16-bit Unicode strings. @stable ICU 2.6 */
75
+ URES_STRING=0,
76
+
77
+ /** Resource type constant for binary data. @stable ICU 2.6 */
78
+ URES_BINARY=1,
79
+
80
+ /** Resource type constant for tables of key-value pairs. @stable ICU 2.6 */
81
+ URES_TABLE=2,
82
+
83
+ /**
84
+ * Resource type constant for aliases;
85
+ * internally stores a string which identifies the actual resource
86
+ * storing the data (can be in a different resource bundle).
87
+ * Resolved internally before delivering the actual resource through the API.
88
+ * @stable ICU 2.6
89
+ */
90
+ URES_ALIAS=3,
91
+
92
+ /**
93
+ * Resource type constant for a single 28-bit integer, interpreted as
94
+ * signed or unsigned by the ures_getInt() or ures_getUInt() function.
95
+ * @see ures_getInt
96
+ * @see ures_getUInt
97
+ * @stable ICU 2.6
98
+ */
99
+ URES_INT=7,
100
+
101
+ /** Resource type constant for arrays of resources. @stable ICU 2.6 */
102
+ URES_ARRAY=8,
103
+
104
+ /**
105
+ * Resource type constant for vectors of 32-bit integers.
106
+ * @see ures_getIntVector
107
+ * @stable ICU 2.6
108
+ */
109
+ URES_INT_VECTOR = 14,
110
+ #ifndef U_HIDE_DEPRECATED_API
111
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
112
+ RES_NONE=URES_NONE,
113
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
114
+ RES_STRING=URES_STRING,
115
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
116
+ RES_BINARY=URES_BINARY,
117
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
118
+ RES_TABLE=URES_TABLE,
119
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
120
+ RES_ALIAS=URES_ALIAS,
121
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
122
+ RES_INT=URES_INT,
123
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
124
+ RES_ARRAY=URES_ARRAY,
125
+ /** @deprecated ICU 2.6 Use the URES_ constant instead. */
126
+ RES_INT_VECTOR=URES_INT_VECTOR,
127
+ /** @deprecated ICU 2.6 Not used. */
128
+ RES_RESERVED=15,
129
+
130
+ /**
131
+ * One more than the highest normal UResType value.
132
+ * @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
133
+ */
134
+ URES_LIMIT = 16
135
+ #endif // U_HIDE_DEPRECATED_API
136
+ } UResType;
137
+
138
+ /*
139
+ * Functions to create and destroy resource bundles.
140
+ */
141
+
142
+ /**
143
+ * Opens a UResourceBundle, from which users can extract strings by using
144
+ * their corresponding keys.
145
+ * Note that the caller is responsible of calling <TT>ures_close</TT> on each successfully
146
+ * opened resource bundle.
147
+ * @param packageName The packageName and locale together point to an ICU udata object,
148
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
149
+ * or equivalent. Typically, packageName will refer to a (.dat) file, or to
150
+ * a package registered with udata_setAppData(). Using a full file or directory
151
+ * pathname for packageName is deprecated. If NULL, ICU data will be used.
152
+ * @param locale specifies the locale for which we want to open the resource
153
+ * if NULL, the default locale will be used. If strlen(locale) == 0
154
+ * root locale will be used.
155
+ *
156
+ * @param status fills in the outgoing error code.
157
+ * The UErrorCode err parameter is used to return status information to the user. To
158
+ * check whether the construction succeeded or not, you should check the value of
159
+ * U_SUCCESS(err). If you wish more detailed information, you can check for
160
+ * informational status results which still indicate success. U_USING_FALLBACK_WARNING
161
+ * indicates that a fall back locale was used. For example, 'de_CH' was requested,
162
+ * but nothing was found there, so 'de' was used. U_USING_DEFAULT_WARNING indicates that
163
+ * the default locale data or root locale data was used; neither the requested locale
164
+ * nor any of its fall back locales could be found. Please see the users guide for more
165
+ * information on this topic.
166
+ * @return a newly allocated resource bundle.
167
+ * @see ures_close
168
+ * @stable ICU 2.0
169
+ */
170
+ U_CAPI UResourceBundle* U_EXPORT2
171
+ ures_open(const char* packageName,
172
+ const char* locale,
173
+ UErrorCode* status);
174
+
175
+
176
+ /** This function does not care what kind of localeID is passed in. It simply opens a bundle with
177
+ * that name. Fallback mechanism is disabled for the new bundle. If the requested bundle contains
178
+ * an %%ALIAS directive, the results are undefined.
179
+ * @param packageName The packageName and locale together point to an ICU udata object,
180
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
181
+ * or equivalent. Typically, packageName will refer to a (.dat) file, or to
182
+ * a package registered with udata_setAppData(). Using a full file or directory
183
+ * pathname for packageName is deprecated. If NULL, ICU data will be used.
184
+ * @param locale specifies the locale for which we want to open the resource
185
+ * if NULL, the default locale will be used. If strlen(locale) == 0
186
+ * root locale will be used.
187
+ *
188
+ * @param status fills in the outgoing error code. Either U_ZERO_ERROR or U_MISSING_RESOURCE_ERROR
189
+ * @return a newly allocated resource bundle or NULL if it doesn't exist.
190
+ * @see ures_close
191
+ * @stable ICU 2.0
192
+ */
193
+ U_CAPI UResourceBundle* U_EXPORT2
194
+ ures_openDirect(const char* packageName,
195
+ const char* locale,
196
+ UErrorCode* status);
197
+
198
+ /**
199
+ * Same as ures_open() but takes a const UChar *path.
200
+ * This path will be converted to char * using the default converter,
201
+ * then ures_open() is called.
202
+ *
203
+ * @param packageName The packageName and locale together point to an ICU udata object,
204
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
205
+ * or equivalent. Typically, packageName will refer to a (.dat) file, or to
206
+ * a package registered with udata_setAppData(). Using a full file or directory
207
+ * pathname for packageName is deprecated. If NULL, ICU data will be used.
208
+ * @param locale specifies the locale for which we want to open the resource
209
+ * if NULL, the default locale will be used. If strlen(locale) == 0
210
+ * root locale will be used.
211
+ * @param status fills in the outgoing error code.
212
+ * @return a newly allocated resource bundle.
213
+ * @see ures_open
214
+ * @stable ICU 2.0
215
+ */
216
+ U_CAPI UResourceBundle* U_EXPORT2
217
+ ures_openU(const UChar* packageName,
218
+ const char* locale,
219
+ UErrorCode* status);
220
+
221
+ #ifndef U_HIDE_DEPRECATED_API
222
+ /**
223
+ * Returns the number of strings/arrays in resource bundles.
224
+ * Better to use ures_getSize, as this function will be deprecated.
225
+ *
226
+ *@param resourceBundle resource bundle containing the desired strings
227
+ *@param resourceKey key tagging the resource
228
+ *@param err fills in the outgoing error code
229
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
230
+ * could be a non-failing error
231
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_FALLBACK_WARNING </TT>
232
+ *@return: for <STRONG>Arrays</STRONG>: returns the number of resources in the array
233
+ * <STRONG>Tables</STRONG>: returns the number of resources in the table
234
+ * <STRONG>single string</STRONG>: returns 1
235
+ *@see ures_getSize
236
+ * @deprecated ICU 2.8 User ures_getSize instead
237
+ */
238
+ U_DEPRECATED int32_t U_EXPORT2
239
+ ures_countArrayItems(const UResourceBundle* resourceBundle,
240
+ const char* resourceKey,
241
+ UErrorCode* err);
242
+ #endif /* U_HIDE_DEPRECATED_API */
243
+
244
+ /**
245
+ * Close a resource bundle, all pointers returned from the various ures_getXXX calls
246
+ * on this particular bundle should be considered invalid henceforth.
247
+ *
248
+ * @param resourceBundle a pointer to a resourceBundle struct. Can be NULL.
249
+ * @see ures_open
250
+ * @stable ICU 2.0
251
+ */
252
+ U_CAPI void U_EXPORT2
253
+ ures_close(UResourceBundle* resourceBundle);
254
+
255
+ #if U_SHOW_CPLUSPLUS_API
256
+
257
+ U_NAMESPACE_BEGIN
258
+
259
+ /**
260
+ * \class LocalUResourceBundlePointer
261
+ * "Smart pointer" class, closes a UResourceBundle via ures_close().
262
+ * For most methods see the LocalPointerBase base class.
263
+ *
264
+ * @see LocalPointerBase
265
+ * @see LocalPointer
266
+ * @stable ICU 4.4
267
+ */
268
+ U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close);
269
+
270
+ U_NAMESPACE_END
271
+
272
+ #endif
273
+
274
+ #ifndef U_HIDE_DEPRECATED_API
275
+ /**
276
+ * Return the version number associated with this ResourceBundle as a string. Please
277
+ * use ures_getVersion as this function is going to be deprecated.
278
+ *
279
+ * @param resourceBundle The resource bundle for which the version is checked.
280
+ * @return A version number string as specified in the resource bundle or its parent.
281
+ * The caller does not own this string.
282
+ * @see ures_getVersion
283
+ * @deprecated ICU 2.8 Use ures_getVersion instead.
284
+ */
285
+ U_DEPRECATED const char* U_EXPORT2
286
+ ures_getVersionNumber(const UResourceBundle* resourceBundle);
287
+ #endif /* U_HIDE_DEPRECATED_API */
288
+
289
+ /**
290
+ * Return the version number associated with this ResourceBundle as an
291
+ * UVersionInfo array.
292
+ *
293
+ * @param resB The resource bundle for which the version is checked.
294
+ * @param versionInfo A UVersionInfo array that is filled with the version number
295
+ * as specified in the resource bundle or its parent.
296
+ * @stable ICU 2.0
297
+ */
298
+ U_CAPI void U_EXPORT2
299
+ ures_getVersion(const UResourceBundle* resB,
300
+ UVersionInfo versionInfo);
301
+
302
+ #ifndef U_HIDE_DEPRECATED_API
303
+ /**
304
+ * Return the name of the Locale associated with this ResourceBundle. This API allows
305
+ * you to query for the real locale of the resource. For example, if you requested
306
+ * "en_US_CALIFORNIA" and only "en_US" bundle exists, "en_US" will be returned.
307
+ * For subresources, the locale where this resource comes from will be returned.
308
+ * If fallback has occurred, getLocale will reflect this.
309
+ *
310
+ * @param resourceBundle resource bundle in question
311
+ * @param status just for catching illegal arguments
312
+ * @return A Locale name
313
+ * @deprecated ICU 2.8 Use ures_getLocaleByType instead.
314
+ */
315
+ U_DEPRECATED const char* U_EXPORT2
316
+ ures_getLocale(const UResourceBundle* resourceBundle,
317
+ UErrorCode* status);
318
+ #endif /* U_HIDE_DEPRECATED_API */
319
+
320
+ /**
321
+ * Return the name of the Locale associated with this ResourceBundle.
322
+ * You can choose between requested, valid and real locale.
323
+ *
324
+ * @param resourceBundle resource bundle in question
325
+ * @param type You can choose between requested, valid and actual
326
+ * locale. For description see the definition of
327
+ * ULocDataLocaleType in uloc.h
328
+ * @param status just for catching illegal arguments
329
+ * @return A Locale name
330
+ * @stable ICU 2.8
331
+ */
332
+ U_CAPI const char* U_EXPORT2
333
+ ures_getLocaleByType(const UResourceBundle* resourceBundle,
334
+ ULocDataLocaleType type,
335
+ UErrorCode* status);
336
+
337
+
338
+ #ifndef U_HIDE_INTERNAL_API
339
+ /**
340
+ * Same as ures_open() but uses the fill-in parameter instead of allocating a new bundle.
341
+ *
342
+ * TODO need to revisit usefulness of this function
343
+ * and usage model for fillIn parameters without knowing sizeof(UResourceBundle)
344
+ * @param r The existing UResourceBundle to fill in. If NULL then status will be
345
+ * set to U_ILLEGAL_ARGUMENT_ERROR.
346
+ * @param packageName The packageName and locale together point to an ICU udata object,
347
+ * as defined by <code> udata_open( packageName, "res", locale, err) </code>
348
+ * or equivalent. Typically, packageName will refer to a (.dat) file, or to
349
+ * a package registered with udata_setAppData(). Using a full file or directory
350
+ * pathname for packageName is deprecated. If NULL, ICU data will be used.
351
+ * @param localeID specifies the locale for which we want to open the resource
352
+ * @param status The error code.
353
+ * @internal
354
+ */
355
+ U_CAPI void U_EXPORT2
356
+ ures_openFillIn(UResourceBundle *r,
357
+ const char* packageName,
358
+ const char* localeID,
359
+ UErrorCode* status);
360
+ #endif /* U_HIDE_INTERNAL_API */
361
+
362
+ /**
363
+ * Returns a string from a string resource type
364
+ *
365
+ * @param resourceBundle a string resource
366
+ * @param len fills in the length of resulting string
367
+ * @param status fills in the outgoing error code
368
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
369
+ * Always check the value of status. Don't count on returning NULL.
370
+ * could be a non-failing error
371
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
372
+ * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
373
+ * @see ures_getBinary
374
+ * @see ures_getIntVector
375
+ * @see ures_getInt
376
+ * @see ures_getUInt
377
+ * @stable ICU 2.0
378
+ */
379
+ U_CAPI const UChar* U_EXPORT2
380
+ ures_getString(const UResourceBundle* resourceBundle,
381
+ int32_t* len,
382
+ UErrorCode* status);
383
+
384
+ /**
385
+ * Returns a UTF-8 string from a string resource.
386
+ * The UTF-8 string may be returnable directly as a pointer, or
387
+ * it may need to be copied, or transformed from UTF-16 using u_strToUTF8()
388
+ * or equivalent.
389
+ *
390
+ * If forceCopy==true, then the string is always written to the dest buffer
391
+ * and dest is returned.
392
+ *
393
+ * If forceCopy==false, then the string is returned as a pointer if possible,
394
+ * without needing a dest buffer (it can be NULL). If the string needs to be
395
+ * copied or transformed, then it may be placed into dest at an arbitrary offset.
396
+ *
397
+ * If the string is to be written to dest, then U_BUFFER_OVERFLOW_ERROR and
398
+ * U_STRING_NOT_TERMINATED_WARNING are set if appropriate, as usual.
399
+ *
400
+ * If the string is transformed from UTF-16, then a conversion error may occur
401
+ * if an unpaired surrogate is encountered. If the function is successful, then
402
+ * the output UTF-8 string is always well-formed.
403
+ *
404
+ * @param resB Resource bundle.
405
+ * @param dest Destination buffer. Can be NULL only if capacity=*length==0.
406
+ * @param length Input: Capacity of destination buffer.
407
+ * Output: Actual length of the UTF-8 string, not counting the
408
+ * terminating NUL, even in case of U_BUFFER_OVERFLOW_ERROR.
409
+ * Can be NULL, meaning capacity=0 and the string length is not
410
+ * returned to the caller.
411
+ * @param forceCopy If true, then the output string will always be written to
412
+ * dest, with U_BUFFER_OVERFLOW_ERROR and
413
+ * U_STRING_NOT_TERMINATED_WARNING set if appropriate.
414
+ * If false, then the dest buffer may or may not contain a
415
+ * copy of the string. dest may or may not be modified.
416
+ * If a copy needs to be written, then the UErrorCode parameter
417
+ * indicates overflow etc. as usual.
418
+ * @param status Pointer to a standard ICU error code. Its input value must
419
+ * pass the U_SUCCESS() test, or else the function returns
420
+ * immediately. Check for U_FAILURE() on output or use with
421
+ * function chaining. (See User Guide for details.)
422
+ * @return The pointer to the UTF-8 string. It may be dest, or at some offset
423
+ * from dest (only if !forceCopy), or in unrelated memory.
424
+ * Always NUL-terminated unless the string was written to dest and
425
+ * length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set).
426
+ *
427
+ * @see ures_getString
428
+ * @see u_strToUTF8
429
+ * @stable ICU 3.6
430
+ */
431
+ U_CAPI const char * U_EXPORT2
432
+ ures_getUTF8String(const UResourceBundle *resB,
433
+ char *dest, int32_t *length,
434
+ UBool forceCopy,
435
+ UErrorCode *status);
436
+
437
+ /**
438
+ * Returns a binary data from a binary resource.
439
+ *
440
+ * @param resourceBundle a string resource
441
+ * @param len fills in the length of resulting byte chunk
442
+ * @param status fills in the outgoing error code
443
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
444
+ * Always check the value of status. Don't count on returning NULL.
445
+ * could be a non-failing error
446
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
447
+ * @return a pointer to a chunk of unsigned bytes which live in a memory mapped/DLL file.
448
+ * @see ures_getString
449
+ * @see ures_getIntVector
450
+ * @see ures_getInt
451
+ * @see ures_getUInt
452
+ * @stable ICU 2.0
453
+ */
454
+ U_CAPI const uint8_t* U_EXPORT2
455
+ ures_getBinary(const UResourceBundle* resourceBundle,
456
+ int32_t* len,
457
+ UErrorCode* status);
458
+
459
+ /**
460
+ * Returns a 32 bit integer array from a resource.
461
+ *
462
+ * @param resourceBundle an int vector resource
463
+ * @param len fills in the length of resulting byte chunk
464
+ * @param status fills in the outgoing error code
465
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
466
+ * Always check the value of status. Don't count on returning NULL.
467
+ * could be a non-failing error
468
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
469
+ * @return a pointer to a chunk of integers which live in a memory mapped/DLL file.
470
+ * @see ures_getBinary
471
+ * @see ures_getString
472
+ * @see ures_getInt
473
+ * @see ures_getUInt
474
+ * @stable ICU 2.0
475
+ */
476
+ U_CAPI const int32_t* U_EXPORT2
477
+ ures_getIntVector(const UResourceBundle* resourceBundle,
478
+ int32_t* len,
479
+ UErrorCode* status);
480
+
481
+ /**
482
+ * Returns an unsigned integer from a resource.
483
+ * This integer is originally 28 bits.
484
+ *
485
+ * @param resourceBundle a string resource
486
+ * @param status fills in the outgoing error code
487
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
488
+ * could be a non-failing error
489
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
490
+ * @return an integer value
491
+ * @see ures_getInt
492
+ * @see ures_getIntVector
493
+ * @see ures_getBinary
494
+ * @see ures_getString
495
+ * @stable ICU 2.0
496
+ */
497
+ U_CAPI uint32_t U_EXPORT2
498
+ ures_getUInt(const UResourceBundle* resourceBundle,
499
+ UErrorCode *status);
500
+
501
+ /**
502
+ * Returns a signed integer from a resource.
503
+ * This integer is originally 28 bit and the sign gets propagated.
504
+ *
505
+ * @param resourceBundle a string resource
506
+ * @param status fills in the outgoing error code
507
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
508
+ * could be a non-failing error
509
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
510
+ * @return an integer value
511
+ * @see ures_getUInt
512
+ * @see ures_getIntVector
513
+ * @see ures_getBinary
514
+ * @see ures_getString
515
+ * @stable ICU 2.0
516
+ */
517
+ U_CAPI int32_t U_EXPORT2
518
+ ures_getInt(const UResourceBundle* resourceBundle,
519
+ UErrorCode *status);
520
+
521
+ /**
522
+ * Returns the size of a resource. Size for scalar types is always 1,
523
+ * and for vector/table types is the number of child resources.
524
+ * @warning Integer array is treated as a scalar type. There are no
525
+ * APIs to access individual members of an integer array. It
526
+ * is always returned as a whole.
527
+ * @param resourceBundle a resource
528
+ * @return number of resources in a given resource.
529
+ * @stable ICU 2.0
530
+ */
531
+ U_CAPI int32_t U_EXPORT2
532
+ ures_getSize(const UResourceBundle *resourceBundle);
533
+
534
+ /**
535
+ * Returns the type of a resource. Available types are defined in enum UResType
536
+ *
537
+ * @param resourceBundle a resource
538
+ * @return type of the given resource.
539
+ * @see UResType
540
+ * @stable ICU 2.0
541
+ */
542
+ U_CAPI UResType U_EXPORT2
543
+ ures_getType(const UResourceBundle *resourceBundle);
544
+
545
+ /**
546
+ * Returns the key associated with a given resource. Not all the resources have a key - only
547
+ * those that are members of a table.
548
+ *
549
+ * @param resourceBundle a resource
550
+ * @return a key associated to this resource, or NULL if it doesn't have a key
551
+ * @stable ICU 2.0
552
+ */
553
+ U_CAPI const char * U_EXPORT2
554
+ ures_getKey(const UResourceBundle *resourceBundle);
555
+
556
+ /* ITERATION API
557
+ This API provides means for iterating through a resource
558
+ */
559
+
560
+ /**
561
+ * Resets the internal context of a resource so that iteration starts from the first element.
562
+ *
563
+ * @param resourceBundle a resource
564
+ * @stable ICU 2.0
565
+ */
566
+ U_CAPI void U_EXPORT2
567
+ ures_resetIterator(UResourceBundle *resourceBundle);
568
+
569
+ /**
570
+ * Checks whether the given resource has another element to iterate over.
571
+ *
572
+ * @param resourceBundle a resource
573
+ * @return true if there are more elements, false if there is no more elements
574
+ * @stable ICU 2.0
575
+ */
576
+ U_CAPI UBool U_EXPORT2
577
+ ures_hasNext(const UResourceBundle *resourceBundle);
578
+
579
+ /**
580
+ * Returns the next resource in a given resource or NULL if there are no more resources
581
+ * to iterate over. Features a fill-in parameter.
582
+ *
583
+ * @param resourceBundle a resource
584
+ * @param fillIn if NULL a new UResourceBundle struct is allocated and must be closed by the caller.
585
+ * Alternatively, you can supply a struct to be filled by this function.
586
+ * @param status fills in the outgoing error code. You may still get a non NULL result even if an
587
+ * error occurred. Check status instead.
588
+ * @return a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it
589
+ * @stable ICU 2.0
590
+ */
591
+ U_CAPI UResourceBundle* U_EXPORT2
592
+ ures_getNextResource(UResourceBundle *resourceBundle,
593
+ UResourceBundle *fillIn,
594
+ UErrorCode *status);
595
+
596
+ /**
597
+ * Returns the next string in a given resource or NULL if there are no more resources
598
+ * to iterate over.
599
+ *
600
+ * @param resourceBundle a resource
601
+ * @param len fill in length of the string
602
+ * @param key fill in for key associated with this string. NULL if no key
603
+ * @param status fills in the outgoing error code. If an error occurred, we may return NULL, but don't
604
+ * count on it. Check status instead!
605
+ * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
606
+ * @stable ICU 2.0
607
+ */
608
+ U_CAPI const UChar* U_EXPORT2
609
+ ures_getNextString(UResourceBundle *resourceBundle,
610
+ int32_t* len,
611
+ const char ** key,
612
+ UErrorCode *status);
613
+
614
+ /**
615
+ * Returns the resource in a given resource at the specified index. Features a fill-in parameter.
616
+ *
617
+ * @param resourceBundle the resource bundle from which to get a sub-resource
618
+ * @param indexR an index to the wanted resource.
619
+ * @param fillIn if NULL a new UResourceBundle struct is allocated and must be closed by the caller.
620
+ * Alternatively, you can supply a struct to be filled by this function.
621
+ * @param status fills in the outgoing error code. Don't count on NULL being returned if an error has
622
+ * occurred. Check status instead.
623
+ * @return a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it
624
+ * @stable ICU 2.0
625
+ */
626
+ U_CAPI UResourceBundle* U_EXPORT2
627
+ ures_getByIndex(const UResourceBundle *resourceBundle,
628
+ int32_t indexR,
629
+ UResourceBundle *fillIn,
630
+ UErrorCode *status);
631
+
632
+ /**
633
+ * Returns the string in a given resource at the specified index.
634
+ *
635
+ * @param resourceBundle a resource
636
+ * @param indexS an index to the wanted string.
637
+ * @param len fill in length of the string
638
+ * @param status fills in the outgoing error code. If an error occurred, we may return NULL, but don't
639
+ * count on it. Check status instead!
640
+ * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
641
+ * @stable ICU 2.0
642
+ */
643
+ U_CAPI const UChar* U_EXPORT2
644
+ ures_getStringByIndex(const UResourceBundle *resourceBundle,
645
+ int32_t indexS,
646
+ int32_t* len,
647
+ UErrorCode *status);
648
+
649
+ /**
650
+ * Returns a UTF-8 string from a resource at the specified index.
651
+ * The UTF-8 string may be returnable directly as a pointer, or
652
+ * it may need to be copied, or transformed from UTF-16 using u_strToUTF8()
653
+ * or equivalent.
654
+ *
655
+ * If forceCopy==true, then the string is always written to the dest buffer
656
+ * and dest is returned.
657
+ *
658
+ * If forceCopy==false, then the string is returned as a pointer if possible,
659
+ * without needing a dest buffer (it can be NULL). If the string needs to be
660
+ * copied or transformed, then it may be placed into dest at an arbitrary offset.
661
+ *
662
+ * If the string is to be written to dest, then U_BUFFER_OVERFLOW_ERROR and
663
+ * U_STRING_NOT_TERMINATED_WARNING are set if appropriate, as usual.
664
+ *
665
+ * If the string is transformed from UTF-16, then a conversion error may occur
666
+ * if an unpaired surrogate is encountered. If the function is successful, then
667
+ * the output UTF-8 string is always well-formed.
668
+ *
669
+ * @param resB Resource bundle.
670
+ * @param stringIndex An index to the wanted string.
671
+ * @param dest Destination buffer. Can be NULL only if capacity=*length==0.
672
+ * @param pLength Input: Capacity of destination buffer.
673
+ * Output: Actual length of the UTF-8 string, not counting the
674
+ * terminating NUL, even in case of U_BUFFER_OVERFLOW_ERROR.
675
+ * Can be NULL, meaning capacity=0 and the string length is not
676
+ * returned to the caller.
677
+ * @param forceCopy If true, then the output string will always be written to
678
+ * dest, with U_BUFFER_OVERFLOW_ERROR and
679
+ * U_STRING_NOT_TERMINATED_WARNING set if appropriate.
680
+ * If false, then the dest buffer may or may not contain a
681
+ * copy of the string. dest may or may not be modified.
682
+ * If a copy needs to be written, then the UErrorCode parameter
683
+ * indicates overflow etc. as usual.
684
+ * @param status Pointer to a standard ICU error code. Its input value must
685
+ * pass the U_SUCCESS() test, or else the function returns
686
+ * immediately. Check for U_FAILURE() on output or use with
687
+ * function chaining. (See User Guide for details.)
688
+ * @return The pointer to the UTF-8 string. It may be dest, or at some offset
689
+ * from dest (only if !forceCopy), or in unrelated memory.
690
+ * Always NUL-terminated unless the string was written to dest and
691
+ * length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set).
692
+ *
693
+ * @see ures_getStringByIndex
694
+ * @see u_strToUTF8
695
+ * @stable ICU 3.6
696
+ */
697
+ U_CAPI const char * U_EXPORT2
698
+ ures_getUTF8StringByIndex(const UResourceBundle *resB,
699
+ int32_t stringIndex,
700
+ char *dest, int32_t *pLength,
701
+ UBool forceCopy,
702
+ UErrorCode *status);
703
+
704
+ /**
705
+ * Returns a resource in a given resource that has a given key. This procedure works only with table
706
+ * resources. Features a fill-in parameter.
707
+ *
708
+ * @param resourceBundle a resource
709
+ * @param key a key associated with the wanted resource
710
+ * @param fillIn if NULL a new UResourceBundle struct is allocated and must be closed by the caller.
711
+ * Alternatively, you can supply a struct to be filled by this function.
712
+ * @param status fills in the outgoing error code.
713
+ * @return a pointer to a UResourceBundle struct. If fill in param was NULL, caller must close it
714
+ * @stable ICU 2.0
715
+ */
716
+ U_CAPI UResourceBundle* U_EXPORT2
717
+ ures_getByKey(const UResourceBundle *resourceBundle,
718
+ const char* key,
719
+ UResourceBundle *fillIn,
720
+ UErrorCode *status);
721
+
722
+ /**
723
+ * Returns a string in a given resource that has a given key. This procedure works only with table
724
+ * resources.
725
+ *
726
+ * @param resB a resource
727
+ * @param key a key associated with the wanted string
728
+ * @param len fill in length of the string
729
+ * @param status fills in the outgoing error code. If an error occurred, we may return NULL, but don't
730
+ * count on it. Check status instead!
731
+ * @return a pointer to a zero-terminated UChar array which lives in a memory mapped/DLL file.
732
+ * @stable ICU 2.0
733
+ */
734
+ U_CAPI const UChar* U_EXPORT2
735
+ ures_getStringByKey(const UResourceBundle *resB,
736
+ const char* key,
737
+ int32_t* len,
738
+ UErrorCode *status);
739
+
740
+ /**
741
+ * Returns a UTF-8 string from a resource and a key.
742
+ * This function works only with table resources.
743
+ *
744
+ * The UTF-8 string may be returnable directly as a pointer, or
745
+ * it may need to be copied, or transformed from UTF-16 using u_strToUTF8()
746
+ * or equivalent.
747
+ *
748
+ * If forceCopy==true, then the string is always written to the dest buffer
749
+ * and dest is returned.
750
+ *
751
+ * If forceCopy==false, then the string is returned as a pointer if possible,
752
+ * without needing a dest buffer (it can be NULL). If the string needs to be
753
+ * copied or transformed, then it may be placed into dest at an arbitrary offset.
754
+ *
755
+ * If the string is to be written to dest, then U_BUFFER_OVERFLOW_ERROR and
756
+ * U_STRING_NOT_TERMINATED_WARNING are set if appropriate, as usual.
757
+ *
758
+ * If the string is transformed from UTF-16, then a conversion error may occur
759
+ * if an unpaired surrogate is encountered. If the function is successful, then
760
+ * the output UTF-8 string is always well-formed.
761
+ *
762
+ * @param resB Resource bundle.
763
+ * @param key A key associated with the wanted resource
764
+ * @param dest Destination buffer. Can be NULL only if capacity=*length==0.
765
+ * @param pLength Input: Capacity of destination buffer.
766
+ * Output: Actual length of the UTF-8 string, not counting the
767
+ * terminating NUL, even in case of U_BUFFER_OVERFLOW_ERROR.
768
+ * Can be NULL, meaning capacity=0 and the string length is not
769
+ * returned to the caller.
770
+ * @param forceCopy If true, then the output string will always be written to
771
+ * dest, with U_BUFFER_OVERFLOW_ERROR and
772
+ * U_STRING_NOT_TERMINATED_WARNING set if appropriate.
773
+ * If false, then the dest buffer may or may not contain a
774
+ * copy of the string. dest may or may not be modified.
775
+ * If a copy needs to be written, then the UErrorCode parameter
776
+ * indicates overflow etc. as usual.
777
+ * @param status Pointer to a standard ICU error code. Its input value must
778
+ * pass the U_SUCCESS() test, or else the function returns
779
+ * immediately. Check for U_FAILURE() on output or use with
780
+ * function chaining. (See User Guide for details.)
781
+ * @return The pointer to the UTF-8 string. It may be dest, or at some offset
782
+ * from dest (only if !forceCopy), or in unrelated memory.
783
+ * Always NUL-terminated unless the string was written to dest and
784
+ * length==capacity (in which case U_STRING_NOT_TERMINATED_WARNING is set).
785
+ *
786
+ * @see ures_getStringByKey
787
+ * @see u_strToUTF8
788
+ * @stable ICU 3.6
789
+ */
790
+ U_CAPI const char * U_EXPORT2
791
+ ures_getUTF8StringByKey(const UResourceBundle *resB,
792
+ const char *key,
793
+ char *dest, int32_t *pLength,
794
+ UBool forceCopy,
795
+ UErrorCode *status);
796
+
797
+ #if U_SHOW_CPLUSPLUS_API
798
+ #include <_foundation_unicode/unistr.h>
799
+
800
+ U_NAMESPACE_BEGIN
801
+ /**
802
+ * Returns the string value from a string resource bundle.
803
+ *
804
+ * @param resB a resource, should have type URES_STRING
805
+ * @param status: fills in the outgoing error code
806
+ * could be <TT>U_MISSING_RESOURCE_ERROR</TT> if the key is not found
807
+ * could be a non-failing error
808
+ * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WARNING </TT>
809
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
810
+ * @stable ICU 2.0
811
+ */
812
+ inline UnicodeString
813
+ ures_getUnicodeString(const UResourceBundle *resB, UErrorCode* status) {
814
+ UnicodeString result;
815
+ int32_t len = 0;
816
+ const char16_t *r = ConstChar16Ptr(ures_getString(resB, &len, status));
817
+ if(U_SUCCESS(*status)) {
818
+ result.setTo(true, r, len);
819
+ } else {
820
+ result.setToBogus();
821
+ }
822
+ return result;
823
+ }
824
+
825
+ /**
826
+ * Returns the next string in a resource, or an empty string if there are no more resources
827
+ * to iterate over.
828
+ * Use ures_getNextString() instead to distinguish between
829
+ * the end of the iteration and a real empty string value.
830
+ *
831
+ * @param resB a resource
832
+ * @param key fill in for key associated with this string
833
+ * @param status fills in the outgoing error code
834
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
835
+ * @stable ICU 2.0
836
+ */
837
+ inline UnicodeString
838
+ ures_getNextUnicodeString(UResourceBundle *resB, const char ** key, UErrorCode* status) {
839
+ UnicodeString result;
840
+ int32_t len = 0;
841
+ const char16_t* r = ConstChar16Ptr(ures_getNextString(resB, &len, key, status));
842
+ if(U_SUCCESS(*status)) {
843
+ result.setTo(true, r, len);
844
+ } else {
845
+ result.setToBogus();
846
+ }
847
+ return result;
848
+ }
849
+
850
+ /**
851
+ * Returns the string in a given resource array or table at the specified index.
852
+ *
853
+ * @param resB a resource
854
+ * @param indexS an index to the wanted string.
855
+ * @param status fills in the outgoing error code
856
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
857
+ * @stable ICU 2.0
858
+ */
859
+ inline UnicodeString
860
+ ures_getUnicodeStringByIndex(const UResourceBundle *resB, int32_t indexS, UErrorCode* status) {
861
+ UnicodeString result;
862
+ int32_t len = 0;
863
+ const char16_t* r = ConstChar16Ptr(ures_getStringByIndex(resB, indexS, &len, status));
864
+ if(U_SUCCESS(*status)) {
865
+ result.setTo(true, r, len);
866
+ } else {
867
+ result.setToBogus();
868
+ }
869
+ return result;
870
+ }
871
+
872
+ /**
873
+ * Returns a string in a resource that has a given key.
874
+ * This procedure works only with table resources.
875
+ *
876
+ * @param resB a resource
877
+ * @param key a key associated with the wanted string
878
+ * @param status fills in the outgoing error code
879
+ * @return The string value, or a bogus string if there is a failure UErrorCode.
880
+ * @stable ICU 2.0
881
+ */
882
+ inline UnicodeString
883
+ ures_getUnicodeStringByKey(const UResourceBundle *resB, const char* key, UErrorCode* status) {
884
+ UnicodeString result;
885
+ int32_t len = 0;
886
+ const char16_t* r = ConstChar16Ptr(ures_getStringByKey(resB, key, &len, status));
887
+ if(U_SUCCESS(*status)) {
888
+ result.setTo(true, r, len);
889
+ } else {
890
+ result.setToBogus();
891
+ }
892
+ return result;
893
+ }
894
+
895
+ U_NAMESPACE_END
896
+
897
+ #endif
898
+
899
+ /**
900
+ * Create a string enumerator, owned by the caller, of all locales located within
901
+ * the specified resource tree.
902
+ * @param packageName name of the tree, such as (NULL) or U_ICUDATA_ALIAS or or "ICUDATA-coll"
903
+ * This call is similar to uloc_getAvailable().
904
+ * @param status error code
905
+ * @stable ICU 3.2
906
+ */
907
+ U_CAPI UEnumeration* U_EXPORT2
908
+ ures_openAvailableLocales(const char *packageName, UErrorCode *status);
909
+
910
+
911
+ #endif /*_URES*/
912
+ /*eof*/