@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.
- package/LICENSE.txt +1445 -0
- package/README.md +24 -2
- package/files.json +366 -0
- package/package.json +18 -4
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLparser.h +320 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/HTMLtree.h +147 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX.h +204 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/SAX2.h +173 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/c14n.h +128 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/catalog.h +182 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/chvalid.h +230 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/debugXML.h +217 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/dict.h +81 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/encoding.h +233 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/entities.h +151 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/globals.h +529 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/hash.h +236 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/list.h +137 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanoftp.h +186 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/nanohttp.h +81 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parser.h +1265 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/parserInternals.h +662 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/pattern.h +100 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/relaxng.h +218 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schemasInternals.h +958 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/schematron.h +142 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/threads.h +94 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/tree.h +1314 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/uri.h +94 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/valid.h +448 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xinclude.h +129 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xlink.h +189 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlIO.h +369 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlautomata.h +146 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlerror.h +919 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlexports.h +50 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmemory.h +228 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlmodule.h +57 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlreader.h +428 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlregexp.h +222 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlsave.h +88 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemas.h +246 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlschemastypes.h +152 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlstring.h +140 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlunicode.h +202 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlversion.h +526 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xmlwriter.h +488 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpath.h +575 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpathInternals.h +632 -0
- package/wasm32-unknown-wasip1/WASI.sdk/include/libxml2/libxml/xpointer.h +137 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFArray.h +673 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedString.h +157 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAttributedStringPriv.h +25 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFAvailability.h +236 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBag.h +97 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBase.h +702 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBigNumber.h +76 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBinaryHeap.h +294 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBitVector.h +49 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle.h +349 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundlePriv.h +334 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBundle_BinaryTypes.h +61 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFBurstTrie.h +181 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFByteOrder.h +305 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendar.h +116 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCalendarPriv.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSet.h +387 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFCharacterSetPriv.h +78 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFConstantKeys.h +128 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFData.h +79 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDate.h +113 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateComponents.h +92 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateFormatter_Private.h +31 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h +62 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateIntervalFormatter.h +96 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDictionary.h +674 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError.h +183 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFError_Private.h +27 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFKnownLocations.h +42 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFListFormatter.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale.h +204 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocale_Private.h +35 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLocking.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFLogUtilities.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMachPort.h +53 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFMessagePort.h +66 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNotificationCenter.h +81 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber.h +129 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumberFormatter.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFNumber_Private.h +30 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFOverflow.h +88 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugIn.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPlugInCOM.h +117 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPreferences.h +130 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPriv.h +721 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList.h +151 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFPropertyList_Private.h +19 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRegularExpression.h +68 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRelativeDateTimeFormatter.h +61 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunArray.h +57 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRunLoop.h +203 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFRuntime.h +281 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSet.h +491 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFSocket.h +220 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStorage.h +296 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStream.h +505 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamAbstract.h +181 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStreamPriv.h +126 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString.h +915 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringDefaultEncoding.h +45 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverter.h +82 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterExt.h +121 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingConverterPriv.h +47 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingDatabase.h +23 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFStringEncodingExt.h +184 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFString_Private.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTargetConditionals.h +284 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTimeZone.h +98 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFTree.h +330 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURL.h +1256 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLAccess.h +128 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLComponents.h +123 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFURLPriv.h +879 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUUID.h +78 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUniChar.h +244 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodeDecomposition.h +35 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUnicodePrecomposition.h +23 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUserNotification.h +185 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFUtilities.h +27 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h +105 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForFoundationOnly.h +816 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h +689 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/module.modulemap +8 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/static-module.map +7 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.h +17 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapData.inc.h +14707 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/CFUniCharBitmapDataAccess.h +16 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsMacros.h +24 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CShimsTargetConditionals.h +56 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_CStdlib.h +169 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/_FoundationCShims.h +32 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/bplist_shims.h +19 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/filemanager_shims.h +156 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/io_shims.h +89 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/module.modulemap +5 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/platform_shims.h +112 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/string_shims.h +52 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_FoundationCShims/uuid.h +81 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/alphaindex.h +766 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/appendable.h +239 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/basictz.h +248 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/brkiter.h +694 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestream.h +307 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestrie.h +568 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/bytestriebuilder.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/calendar.h +2609 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/caniter.h +215 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/casemap.h +497 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/char16ptr.h +384 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/chariter.h +734 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/choicfmt.h +601 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coleitr.h +411 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/coll.h +1387 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/compactdecimalformat.h +196 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/curramt.h +133 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currpinf.h +274 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/currunit.h +146 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/datefmt.h +968 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dbbi.h +48 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dcfmtsym.h +636 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/decimfmt.h +2233 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/displayoptions.h +270 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/docmain.h +247 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtfmtsym.h +1055 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtintrv.h +163 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvfmt.h +1231 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtitvinf.h +524 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtptngen.h +676 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/dtrule.h +256 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/edits.h +531 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/enumset.h +69 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/errorcode.h +144 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fieldpos.h +298 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/filteredbrk.h +152 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fmtable.h +758 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/format.h +316 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattednumber.h +215 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/formattedvalue.h +318 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/fpositer.h +124 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gender.h +122 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/gregocal.h +737 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icudataver.h +43 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/icuplug.h +391 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/idna.h +333 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/listformatter.h +291 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localebuilder.h +309 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localematcher.h +710 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/localpointer.h +609 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locdspnm.h +211 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/locid.h +1293 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measfmt.h +501 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measunit.h +3928 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/measure.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/messagepattern.h +950 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/module.modulemap +209 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/msgfmt.h +1117 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normalizer2.h +791 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/normlzr.h +816 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/nounit.h +86 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberformatter.h +2862 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numberrangeformatter.h +802 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numfmt.h +1299 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/numsys.h +220 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parseerr.h +94 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/parsepos.h +237 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/platform.h +874 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurfmt.h +601 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/plurrule.h +591 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ptypes.h +66 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/putil.h +183 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbbi.h +902 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbnf.h +1153 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rbtz.h +373 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/regex.h +1882 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/region.h +229 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/reldatefmt.h +758 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/rep.h +266 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/resbund.h +489 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/schriter.h +187 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/scientificnumberformatter.h +222 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/search.h +580 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/selfmt.h +374 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpleformatter.h +414 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simplenumberformatter.h +326 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/simpletz.h +940 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/smpdtfmt.h +1383 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/sortkey.h +344 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/std_string.h +41 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/strenum.h +281 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringoptions.h +190 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringpiece.h +354 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stringtriebuilder.h +426 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/stsearch.h +509 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/symtable.h +119 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tblcoll.h +886 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/timezone.h +1067 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmunit.h +142 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutamt.h +174 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tmutfmt.h +238 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/translit.h +1593 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzfmt.h +1102 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tznames.h +419 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tzrule.h +820 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/tztrans.h +201 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ualoc.h +372 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureformat.h +487 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uameasureunit.h +249 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimeunitformat.h +377 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uatimezone.h +114 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubidi.h +2368 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubiditransform.h +326 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ubrk.h +684 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucal.h +1825 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucasemap.h +388 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucat.h +160 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchar.h +4410 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstrie.h +623 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucharstriebuilder.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uchriter.h +393 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uclean.h +262 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv.h +2053 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_cb.h +164 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnv_err.h +465 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucnvsel.h +193 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucol.h +1649 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucoleitr.h +344 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uconfig.h +501 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucpmap.h +158 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucptrie.h +645 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucsdet.h +426 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ucurr.h +466 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udat.h +1767 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udata.h +454 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udateintervalformat.h +458 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatintv.h +146 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udatpg.h +806 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplaycontext.h +233 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/udisplayoptions.h +321 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uenum.h +209 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ufieldpositer.h +123 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattable.h +290 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattednumber.h +224 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uformattedvalue.h +445 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ugender.h +86 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uidna.h +794 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uiter.h +709 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uldnames.h +307 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulistformatter.h +333 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uloc.h +1437 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocale.h +226 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocbuilder.h +437 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ulocdata.h +299 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umachine.h +491 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umisc.h +62 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umsg.h +628 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/umutablecptrie.h +240 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifilt.h +136 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unifunct.h +132 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unimatch.h +168 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unirepl.h +103 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uniset.h +1909 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unistr.h +5095 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm.h +476 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unorm2.h +626 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unum.h +1524 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberformatter.h +576 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberoptions.h +173 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumberrangeformatter.h +471 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/unumsys.h +176 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uobject.h +324 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uplrule.h +82 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/upluralrules.h +263 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urbtok.h +276 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregex.h +1617 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uregion.h +252 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ureldatefmt.h +510 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urename.h +4026 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/urep.h +157 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ures.h +912 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uscript.h +742 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usearch.h +911 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uset.h +1898 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usetiter.h +323 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ushape.h +476 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usimplenumberformatter.h +297 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uspoof.h +1852 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/usprep.h +274 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustdio.h +1021 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustream.h +69 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustring.h +1719 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/ustringtrie.h +97 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utext.h +1613 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf.h +225 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf16.h +740 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf32.h +25 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf8.h +882 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utf_old.h +1207 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utmscale.h +490 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrace.h +506 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utrans.h +660 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/utypes.h +826 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uvernum.h +191 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/uversion.h +230 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/_foundation_unicode/vtzone.h +471 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Foundation.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationEssentials.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationInternationalization.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/FoundationXML.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/_FoundationCollections.swiftmodule/wasm32-unknown-wasip1.swiftmodule +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libCoreFoundation.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationXML.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_CFXMLInterface.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCShims.a +0 -0
- package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
// © 2017 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
|
|
4
|
+
#ifndef __UNUMBEROPTIONS_H__
|
|
5
|
+
#define __UNUMBEROPTIONS_H__
|
|
6
|
+
|
|
7
|
+
#include <_foundation_unicode/utypes.h>
|
|
8
|
+
|
|
9
|
+
#if !UCONFIG_NO_FORMATTING
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* \file
|
|
13
|
+
* \brief C API: Header-only input options for various number formatting APIs.
|
|
14
|
+
*
|
|
15
|
+
* You do not normally need to include this header file directly, because it is included in all
|
|
16
|
+
* files that use these enums.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/** The possible number format rounding modes.
|
|
21
|
+
*
|
|
22
|
+
* <p>
|
|
23
|
+
* For more detail on rounding modes, see:
|
|
24
|
+
* https://unicode-org.github.io/icu/userguide/format_parse/numbers/rounding-modes
|
|
25
|
+
*
|
|
26
|
+
* @stable ICU 2.0
|
|
27
|
+
*/
|
|
28
|
+
typedef enum UNumberFormatRoundingMode {
|
|
29
|
+
UNUM_ROUND_CEILING,
|
|
30
|
+
UNUM_ROUND_FLOOR,
|
|
31
|
+
UNUM_ROUND_DOWN,
|
|
32
|
+
UNUM_ROUND_UP,
|
|
33
|
+
/**
|
|
34
|
+
* Half-even rounding
|
|
35
|
+
* @stable, ICU 3.8
|
|
36
|
+
*/
|
|
37
|
+
UNUM_ROUND_HALFEVEN,
|
|
38
|
+
#ifndef U_HIDE_DEPRECATED_API
|
|
39
|
+
/**
|
|
40
|
+
* Half-even rounding, misspelled name
|
|
41
|
+
* @deprecated, ICU 3.8
|
|
42
|
+
*/
|
|
43
|
+
UNUM_FOUND_HALFEVEN = UNUM_ROUND_HALFEVEN,
|
|
44
|
+
#endif /* U_HIDE_DEPRECATED_API */
|
|
45
|
+
UNUM_ROUND_HALFDOWN = UNUM_ROUND_HALFEVEN + 1,
|
|
46
|
+
UNUM_ROUND_HALFUP,
|
|
47
|
+
/**
|
|
48
|
+
* ROUND_UNNECESSARY reports an error if formatted result is not exact.
|
|
49
|
+
* @stable ICU 4.8
|
|
50
|
+
*/
|
|
51
|
+
UNUM_ROUND_UNNECESSARY,
|
|
52
|
+
/**
|
|
53
|
+
* Rounds ties toward the odd number.
|
|
54
|
+
* @stable ICU 69
|
|
55
|
+
*/
|
|
56
|
+
UNUM_ROUND_HALF_ODD,
|
|
57
|
+
/**
|
|
58
|
+
* Rounds ties toward +∞.
|
|
59
|
+
* @stable ICU 69
|
|
60
|
+
*/
|
|
61
|
+
UNUM_ROUND_HALF_CEILING,
|
|
62
|
+
/**
|
|
63
|
+
* Rounds ties toward -∞.
|
|
64
|
+
* @stable ICU 69
|
|
65
|
+
*/
|
|
66
|
+
UNUM_ROUND_HALF_FLOOR,
|
|
67
|
+
} UNumberFormatRoundingMode;
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* An enum declaring the strategy for when and how to display grouping separators (i.e., the
|
|
72
|
+
* separator, often a comma or period, after every 2-3 powers of ten). The choices are several
|
|
73
|
+
* pre-built strategies for different use cases that employ locale data whenever possible. Example
|
|
74
|
+
* outputs for 1234 and 1234567 in <em>en-IN</em>:
|
|
75
|
+
*
|
|
76
|
+
* <ul>
|
|
77
|
+
* <li>OFF: 1234 and 12345
|
|
78
|
+
* <li>MIN2: 1234 and 12,34,567
|
|
79
|
+
* <li>AUTO: 1,234 and 12,34,567
|
|
80
|
+
* <li>ON_ALIGNED: 1,234 and 12,34,567
|
|
81
|
+
* <li>THOUSANDS: 1,234 and 1,234,567
|
|
82
|
+
* </ul>
|
|
83
|
+
*
|
|
84
|
+
* <p>
|
|
85
|
+
* The default is AUTO, which displays grouping separators unless the locale data says that grouping
|
|
86
|
+
* is not customary. To force grouping for all numbers greater than 1000 consistently across locales,
|
|
87
|
+
* use ON_ALIGNED. On the other hand, to display grouping less frequently than the default, use MIN2
|
|
88
|
+
* or OFF. See the docs of each option for details.
|
|
89
|
+
*
|
|
90
|
+
* <p>
|
|
91
|
+
* Note: This enum specifies the strategy for grouping sizes. To set which character to use as the
|
|
92
|
+
* grouping separator, use the "symbols" setter.
|
|
93
|
+
*
|
|
94
|
+
* @stable ICU 63
|
|
95
|
+
*/
|
|
96
|
+
typedef enum UNumberGroupingStrategy {
|
|
97
|
+
/**
|
|
98
|
+
* Do not display grouping separators in any locale.
|
|
99
|
+
*
|
|
100
|
+
* @stable ICU 61
|
|
101
|
+
*/
|
|
102
|
+
UNUM_GROUPING_OFF,
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Display grouping using locale defaults, except do not show grouping on values smaller than
|
|
106
|
+
* 10000 (such that there is a <em>minimum of two digits</em> before the first separator).
|
|
107
|
+
*
|
|
108
|
+
* <p>
|
|
109
|
+
* Note that locales may restrict grouping separators to be displayed only on 1 million or
|
|
110
|
+
* greater (for example, ee and hu) or disable grouping altogether (for example, bg currency).
|
|
111
|
+
*
|
|
112
|
+
* <p>
|
|
113
|
+
* Locale data is used to determine whether to separate larger numbers into groups of 2
|
|
114
|
+
* (customary in South Asia) or groups of 3 (customary in Europe and the Americas).
|
|
115
|
+
*
|
|
116
|
+
* @stable ICU 61
|
|
117
|
+
*/
|
|
118
|
+
UNUM_GROUPING_MIN2,
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Display grouping using the default strategy for all locales. This is the default behavior.
|
|
122
|
+
*
|
|
123
|
+
* <p>
|
|
124
|
+
* Note that locales may restrict grouping separators to be displayed only on 1 million or
|
|
125
|
+
* greater (for example, ee and hu) or disable grouping altogether (for example, bg currency).
|
|
126
|
+
*
|
|
127
|
+
* <p>
|
|
128
|
+
* Locale data is used to determine whether to separate larger numbers into groups of 2
|
|
129
|
+
* (customary in South Asia) or groups of 3 (customary in Europe and the Americas).
|
|
130
|
+
*
|
|
131
|
+
* @stable ICU 61
|
|
132
|
+
*/
|
|
133
|
+
UNUM_GROUPING_AUTO,
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Always display the grouping separator on values of at least 1000.
|
|
137
|
+
*
|
|
138
|
+
* <p>
|
|
139
|
+
* This option ignores the locale data that restricts or disables grouping, described in MIN2 and
|
|
140
|
+
* AUTO. This option may be useful to normalize the alignment of numbers, such as in a
|
|
141
|
+
* spreadsheet.
|
|
142
|
+
*
|
|
143
|
+
* <p>
|
|
144
|
+
* Locale data is used to determine whether to separate larger numbers into groups of 2
|
|
145
|
+
* (customary in South Asia) or groups of 3 (customary in Europe and the Americas).
|
|
146
|
+
*
|
|
147
|
+
* @stable ICU 61
|
|
148
|
+
*/
|
|
149
|
+
UNUM_GROUPING_ON_ALIGNED,
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Use the Western defaults: groups of 3 and enabled for all numbers 1000 or greater. Do not use
|
|
153
|
+
* locale data for determining the grouping strategy.
|
|
154
|
+
*
|
|
155
|
+
* @stable ICU 61
|
|
156
|
+
*/
|
|
157
|
+
UNUM_GROUPING_THOUSANDS
|
|
158
|
+
|
|
159
|
+
#ifndef U_HIDE_INTERNAL_API
|
|
160
|
+
,
|
|
161
|
+
/**
|
|
162
|
+
* One more than the highest UNumberGroupingStrategy value.
|
|
163
|
+
*
|
|
164
|
+
* @internal ICU 62: The numeric value may change over time; see ICU ticket #12420.
|
|
165
|
+
*/
|
|
166
|
+
UNUM_GROUPING_COUNT
|
|
167
|
+
#endif /* U_HIDE_INTERNAL_API */
|
|
168
|
+
|
|
169
|
+
} UNumberGroupingStrategy;
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
173
|
+
#endif //__UNUMBEROPTIONS_H__
|
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
// © 2020 and later: Unicode, Inc. and others.
|
|
2
|
+
// License & terms of use: http://www.unicode.org/copyright.html
|
|
3
|
+
|
|
4
|
+
#ifndef __UNUMBERRANGEFORMATTER_H__
|
|
5
|
+
#define __UNUMBERRANGEFORMATTER_H__
|
|
6
|
+
|
|
7
|
+
#include <_foundation_unicode/utypes.h>
|
|
8
|
+
|
|
9
|
+
#if !UCONFIG_NO_FORMATTING
|
|
10
|
+
|
|
11
|
+
#include <_foundation_unicode/parseerr.h>
|
|
12
|
+
#include <_foundation_unicode/ufieldpositer.h>
|
|
13
|
+
#include <_foundation_unicode/umisc.h>
|
|
14
|
+
#include <_foundation_unicode/uformattedvalue.h>
|
|
15
|
+
#include <_foundation_unicode/uformattable.h>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* \file
|
|
20
|
+
* \brief C API: Localized number range formatting
|
|
21
|
+
*
|
|
22
|
+
* This is the C-compatible version of the NumberRangeFormatter API. C++ users
|
|
23
|
+
* should include unicode/numberrangeformatter.h and use the proper C++ APIs.
|
|
24
|
+
*
|
|
25
|
+
* First create a UNumberRangeFormatter, which is immutable, and then format to
|
|
26
|
+
* a UFormattedNumberRange.
|
|
27
|
+
*
|
|
28
|
+
* Example code:
|
|
29
|
+
* <pre>
|
|
30
|
+
* // Setup:
|
|
31
|
+
* UErrorCode ec = U_ZERO_ERROR;
|
|
32
|
+
* UNumberRangeFormatter* uformatter = unumrf_openForSkeletonCollapseIdentityFallbackAndLocaleWithError(
|
|
33
|
+
* u"currency/USD precision-integer",
|
|
34
|
+
* -1,
|
|
35
|
+
* UNUM_RANGE_COLLAPSE_AUTO,
|
|
36
|
+
* UNUM_IDENTITY_FALLBACK_APPROXIMATELY,
|
|
37
|
+
* "en-US",
|
|
38
|
+
* NULL,
|
|
39
|
+
* &ec);
|
|
40
|
+
* UFormattedNumberRange* uresult = unumrf_openResult(&ec);
|
|
41
|
+
* if (U_FAILURE(ec)) { return; }
|
|
42
|
+
*
|
|
43
|
+
* // Format a double range:
|
|
44
|
+
* unumrf_formatDoubleRange(uformatter, 3.0, 5.0, uresult, &ec);
|
|
45
|
+
* if (U_FAILURE(ec)) { return; }
|
|
46
|
+
*
|
|
47
|
+
* // Get the result string:
|
|
48
|
+
* int32_t len;
|
|
49
|
+
* const UChar* str = ufmtval_getString(unumrf_resultAsValue(uresult, &ec), &len, &ec);
|
|
50
|
+
* if (U_FAILURE(ec)) { return; }
|
|
51
|
+
* // str should equal "$3 – $5"
|
|
52
|
+
*
|
|
53
|
+
* // Cleanup:
|
|
54
|
+
* unumf_close(uformatter);
|
|
55
|
+
* unumf_closeResult(uresult);
|
|
56
|
+
* </pre>
|
|
57
|
+
*
|
|
58
|
+
* If you are a C++ user linking against the C libraries, you can use the LocalPointer versions of these
|
|
59
|
+
* APIs. The following example uses LocalPointer with the decimal number and field position APIs:
|
|
60
|
+
*
|
|
61
|
+
* <pre>
|
|
62
|
+
* // Setup:
|
|
63
|
+
* LocalUNumberRangeFormatterPointer uformatter(
|
|
64
|
+
* unumrf_openForSkeletonCollapseIdentityFallbackAndLocaleWithError(...));
|
|
65
|
+
* LocalUFormattedNumberRangePointer uresult(unumrf_openResult(&ec));
|
|
66
|
+
* if (U_FAILURE(ec)) { return; }
|
|
67
|
+
*
|
|
68
|
+
* // Format a double number range:
|
|
69
|
+
* unumrf_formatDoubleRange(uformatter.getAlias(), 3.0, 5.0, uresult.getAlias(), &ec);
|
|
70
|
+
* if (U_FAILURE(ec)) { return; }
|
|
71
|
+
*
|
|
72
|
+
* // No need to do any cleanup since we are using LocalPointer.
|
|
73
|
+
* </pre>
|
|
74
|
+
*
|
|
75
|
+
* You can also get field positions. For more information, see uformattedvalue.h.
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Defines how to merge fields that are identical across the range sign.
|
|
80
|
+
*
|
|
81
|
+
* @stable ICU 63
|
|
82
|
+
*/
|
|
83
|
+
typedef enum UNumberRangeCollapse {
|
|
84
|
+
/**
|
|
85
|
+
* Use locale data and heuristics to determine how much of the string to collapse. Could end up collapsing none,
|
|
86
|
+
* some, or all repeated pieces in a locale-sensitive way.
|
|
87
|
+
*
|
|
88
|
+
* The heuristics used for this option are subject to change over time.
|
|
89
|
+
*
|
|
90
|
+
* @stable ICU 63
|
|
91
|
+
*/
|
|
92
|
+
UNUM_RANGE_COLLAPSE_AUTO,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Do not collapse any part of the number. Example: "3.2 thousand kilograms – 5.3 thousand kilograms"
|
|
96
|
+
*
|
|
97
|
+
* @stable ICU 63
|
|
98
|
+
*/
|
|
99
|
+
UNUM_RANGE_COLLAPSE_NONE,
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Collapse the unit part of the number, but not the notation, if present. Example: "3.2 thousand – 5.3 thousand
|
|
103
|
+
* kilograms"
|
|
104
|
+
*
|
|
105
|
+
* @stable ICU 63
|
|
106
|
+
*/
|
|
107
|
+
UNUM_RANGE_COLLAPSE_UNIT,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Collapse any field that is equal across the range sign. May introduce ambiguity on the magnitude of the
|
|
111
|
+
* number. Example: "3.2 – 5.3 thousand kilograms"
|
|
112
|
+
*
|
|
113
|
+
* @stable ICU 63
|
|
114
|
+
*/
|
|
115
|
+
UNUM_RANGE_COLLAPSE_ALL
|
|
116
|
+
} UNumberRangeCollapse;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Defines the behavior when the two numbers in the range are identical after rounding. To programmatically detect
|
|
120
|
+
* when the identity fallback is used, compare the lower and upper BigDecimals via FormattedNumber.
|
|
121
|
+
*
|
|
122
|
+
* @stable ICU 63
|
|
123
|
+
* @see NumberRangeFormatter
|
|
124
|
+
*/
|
|
125
|
+
typedef enum UNumberRangeIdentityFallback {
|
|
126
|
+
/**
|
|
127
|
+
* Show the number as a single value rather than a range. Example: "$5"
|
|
128
|
+
*
|
|
129
|
+
* @stable ICU 63
|
|
130
|
+
*/
|
|
131
|
+
UNUM_IDENTITY_FALLBACK_SINGLE_VALUE,
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Show the number using a locale-sensitive approximation pattern. If the numbers were the same before rounding,
|
|
135
|
+
* show the single value. Example: "~$5" or "$5"
|
|
136
|
+
*
|
|
137
|
+
* @stable ICU 63
|
|
138
|
+
*/
|
|
139
|
+
UNUM_IDENTITY_FALLBACK_APPROXIMATELY_OR_SINGLE_VALUE,
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Show the number using a locale-sensitive approximation pattern. Use the range pattern always, even if the
|
|
143
|
+
* inputs are the same. Example: "~$5"
|
|
144
|
+
*
|
|
145
|
+
* @stable ICU 63
|
|
146
|
+
*/
|
|
147
|
+
UNUM_IDENTITY_FALLBACK_APPROXIMATELY,
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Show the number as the range of two equal values. Use the range pattern always, even if the inputs are the
|
|
151
|
+
* same. Example (with RangeCollapse.NONE): "$5 – $5"
|
|
152
|
+
*
|
|
153
|
+
* @stable ICU 63
|
|
154
|
+
*/
|
|
155
|
+
UNUM_IDENTITY_FALLBACK_RANGE
|
|
156
|
+
} UNumberRangeIdentityFallback;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Used in the result class FormattedNumberRange to indicate to the user whether the numbers formatted in the range
|
|
160
|
+
* were equal or not, and whether or not the identity fallback was applied.
|
|
161
|
+
*
|
|
162
|
+
* @stable ICU 63
|
|
163
|
+
* @see NumberRangeFormatter
|
|
164
|
+
*/
|
|
165
|
+
typedef enum UNumberRangeIdentityResult {
|
|
166
|
+
/**
|
|
167
|
+
* Used to indicate that the two numbers in the range were equal, even before any rounding rules were applied.
|
|
168
|
+
*
|
|
169
|
+
* @stable ICU 63
|
|
170
|
+
* @see NumberRangeFormatter
|
|
171
|
+
*/
|
|
172
|
+
UNUM_IDENTITY_RESULT_EQUAL_BEFORE_ROUNDING,
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Used to indicate that the two numbers in the range were equal, but only after rounding rules were applied.
|
|
176
|
+
*
|
|
177
|
+
* @stable ICU 63
|
|
178
|
+
* @see NumberRangeFormatter
|
|
179
|
+
*/
|
|
180
|
+
UNUM_IDENTITY_RESULT_EQUAL_AFTER_ROUNDING,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Used to indicate that the two numbers in the range were not equal, even after rounding rules were applied.
|
|
184
|
+
*
|
|
185
|
+
* @stable ICU 63
|
|
186
|
+
* @see NumberRangeFormatter
|
|
187
|
+
*/
|
|
188
|
+
UNUM_IDENTITY_RESULT_NOT_EQUAL,
|
|
189
|
+
|
|
190
|
+
#ifndef U_HIDE_INTERNAL_API
|
|
191
|
+
/**
|
|
192
|
+
* The number of entries in this enum.
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
UNUM_IDENTITY_RESULT_COUNT
|
|
196
|
+
#endif /* U_HIDE_INTERNAL_API */
|
|
197
|
+
|
|
198
|
+
} UNumberRangeIdentityResult;
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
struct UNumberRangeFormatter;
|
|
202
|
+
/**
|
|
203
|
+
* C-compatible version of icu::number::LocalizedNumberRangeFormatter.
|
|
204
|
+
*
|
|
205
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberrangeformatter.h instead.
|
|
206
|
+
*
|
|
207
|
+
* @stable ICU 68
|
|
208
|
+
*/
|
|
209
|
+
typedef struct UNumberRangeFormatter UNumberRangeFormatter;
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
struct UFormattedNumberRange;
|
|
213
|
+
/**
|
|
214
|
+
* C-compatible version of icu::number::FormattedNumberRange.
|
|
215
|
+
*
|
|
216
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberrangeformatter.h instead.
|
|
217
|
+
*
|
|
218
|
+
* @stable ICU 68
|
|
219
|
+
*/
|
|
220
|
+
typedef struct UFormattedNumberRange UFormattedNumberRange;
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Creates a new UNumberFormatter for the given skeleton string, collapse option, identity fallback
|
|
225
|
+
* option, and locale. This is currently the only method for creating a new UNumberRangeFormatter.
|
|
226
|
+
*
|
|
227
|
+
* Objects of type UNumberRangeFormatter returned by this method are threadsafe.
|
|
228
|
+
*
|
|
229
|
+
* For more details on skeleton strings, see the documentation in numberrangeformatter.h. For more
|
|
230
|
+
* details on the usage of this API, see the documentation at the top of unumberrangeformatter.h.
|
|
231
|
+
*
|
|
232
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberrangeformatter.h instead.
|
|
233
|
+
*
|
|
234
|
+
* @param skeleton The skeleton string, like u"percent precision-integer"
|
|
235
|
+
* @param skeletonLen The number of UChars in the skeleton string, or -1 if it is NUL-terminated.
|
|
236
|
+
* @param collapse Option for how to merge affixes (if unsure, use UNUM_RANGE_COLLAPSE_AUTO)
|
|
237
|
+
* @param identityFallback Option for resolving when both sides of the range are equal.
|
|
238
|
+
* @param locale The NUL-terminated locale ID.
|
|
239
|
+
* @param perror A parse error struct populated if an error occurs when parsing. Can be NULL.
|
|
240
|
+
* If no error occurs, perror->offset will be set to -1.
|
|
241
|
+
* @param ec Set if an error occurs.
|
|
242
|
+
* @stable ICU 68
|
|
243
|
+
*/
|
|
244
|
+
U_CAPI UNumberRangeFormatter* U_EXPORT2
|
|
245
|
+
unumrf_openForSkeletonWithCollapseAndIdentityFallback(
|
|
246
|
+
const UChar* skeleton,
|
|
247
|
+
int32_t skeletonLen,
|
|
248
|
+
UNumberRangeCollapse collapse,
|
|
249
|
+
UNumberRangeIdentityFallback identityFallback,
|
|
250
|
+
const char* locale,
|
|
251
|
+
UParseError* perror,
|
|
252
|
+
UErrorCode* ec);
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Creates an object to hold the result of a UNumberRangeFormatter
|
|
257
|
+
* operation. The object can be used repeatedly; it is cleared whenever
|
|
258
|
+
* passed to a format function.
|
|
259
|
+
*
|
|
260
|
+
* @param ec Set if an error occurs.
|
|
261
|
+
* @stable ICU 68
|
|
262
|
+
*/
|
|
263
|
+
U_CAPI UFormattedNumberRange* U_EXPORT2
|
|
264
|
+
unumrf_openResult(UErrorCode* ec);
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Uses a UNumberRangeFormatter to format a range of doubles.
|
|
269
|
+
*
|
|
270
|
+
* The UNumberRangeFormatter can be shared between threads. Each thread should have its own local
|
|
271
|
+
* UFormattedNumberRange, however, for storing the result of the formatting operation.
|
|
272
|
+
*
|
|
273
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberrangeformatter.h instead.
|
|
274
|
+
*
|
|
275
|
+
* @param uformatter A formatter object; see unumberrangeformatter.h.
|
|
276
|
+
* @param first The first (usually smaller) number in the range.
|
|
277
|
+
* @param second The second (usually larger) number in the range.
|
|
278
|
+
* @param uresult The object that will be mutated to store the result; see unumrf_openResult.
|
|
279
|
+
* @param ec Set if an error occurs.
|
|
280
|
+
* @stable ICU 68
|
|
281
|
+
*/
|
|
282
|
+
U_CAPI void U_EXPORT2
|
|
283
|
+
unumrf_formatDoubleRange(
|
|
284
|
+
const UNumberRangeFormatter* uformatter,
|
|
285
|
+
double first,
|
|
286
|
+
double second,
|
|
287
|
+
UFormattedNumberRange* uresult,
|
|
288
|
+
UErrorCode* ec);
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Uses a UNumberRangeFormatter to format a range of decimal numbers.
|
|
293
|
+
*
|
|
294
|
+
* With a decimal number string, you can specify an input with arbitrary precision.
|
|
295
|
+
*
|
|
296
|
+
* The UNumberRangeFormatter can be shared between threads. Each thread should have its own local
|
|
297
|
+
* UFormattedNumberRange, however, for storing the result of the formatting operation.
|
|
298
|
+
*
|
|
299
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberrangeformatter.h instead.
|
|
300
|
+
*
|
|
301
|
+
* @param uformatter A formatter object; see unumberrangeformatter.h.
|
|
302
|
+
* @param first The first (usually smaller) number in the range.
|
|
303
|
+
* @param firstLen The length of the first decimal number string.
|
|
304
|
+
* @param second The second (usually larger) number in the range.
|
|
305
|
+
* @param secondLen The length of the second decimal number string.
|
|
306
|
+
* @param uresult The object that will be mutated to store the result; see unumrf_openResult.
|
|
307
|
+
* @param ec Set if an error occurs.
|
|
308
|
+
* @stable ICU 68
|
|
309
|
+
*/
|
|
310
|
+
U_CAPI void U_EXPORT2
|
|
311
|
+
unumrf_formatDecimalRange(
|
|
312
|
+
const UNumberRangeFormatter* uformatter,
|
|
313
|
+
const char* first,
|
|
314
|
+
int32_t firstLen,
|
|
315
|
+
const char* second,
|
|
316
|
+
int32_t secondLen,
|
|
317
|
+
UFormattedNumberRange* uresult,
|
|
318
|
+
UErrorCode* ec);
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Returns a representation of a UFormattedNumberRange as a UFormattedValue,
|
|
323
|
+
* which can be subsequently passed to any API requiring that type.
|
|
324
|
+
*
|
|
325
|
+
* The returned object is owned by the UFormattedNumberRange and is valid
|
|
326
|
+
* only as long as the UFormattedNumber is present and unchanged in memory.
|
|
327
|
+
*
|
|
328
|
+
* You can think of this method as a cast between types.
|
|
329
|
+
*
|
|
330
|
+
* @param uresult The object containing the formatted number range.
|
|
331
|
+
* @param ec Set if an error occurs.
|
|
332
|
+
* @return A UFormattedValue owned by the input object.
|
|
333
|
+
* @stable ICU 68
|
|
334
|
+
*/
|
|
335
|
+
U_CAPI const UFormattedValue* U_EXPORT2
|
|
336
|
+
unumrf_resultAsValue(const UFormattedNumberRange* uresult, UErrorCode* ec);
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Extracts the identity result from a UFormattedNumberRange.
|
|
341
|
+
*
|
|
342
|
+
* NOTE: This is a C-compatible API; C++ users should build against numberformatter.h instead.
|
|
343
|
+
*
|
|
344
|
+
* @param uresult The object containing the formatted number range.
|
|
345
|
+
* @param ec Set if an error occurs.
|
|
346
|
+
* @return The identity result; see UNumberRangeIdentityResult.
|
|
347
|
+
* @stable ICU 68
|
|
348
|
+
*/
|
|
349
|
+
U_CAPI UNumberRangeIdentityResult U_EXPORT2
|
|
350
|
+
unumrf_resultGetIdentityResult(
|
|
351
|
+
const UFormattedNumberRange* uresult,
|
|
352
|
+
UErrorCode* ec);
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Extracts the first formatted number as a decimal number. This endpoint
|
|
357
|
+
* is useful for obtaining the exact number being printed after scaling
|
|
358
|
+
* and rounding have been applied by the number range formatting pipeline.
|
|
359
|
+
*
|
|
360
|
+
* The syntax of the unformatted number is a "numeric string"
|
|
361
|
+
* as defined in the Decimal Arithmetic Specification, available at
|
|
362
|
+
* http://speleotrove.com/decimal
|
|
363
|
+
*
|
|
364
|
+
* @param uresult The input object containing the formatted number range.
|
|
365
|
+
* @param dest the 8-bit char buffer into which the decimal number is placed
|
|
366
|
+
* @param destCapacity The size, in chars, of the destination buffer. May be zero
|
|
367
|
+
* for precomputing the required size.
|
|
368
|
+
* @param ec receives any error status.
|
|
369
|
+
* If U_BUFFER_OVERFLOW_ERROR: Returns number of chars for
|
|
370
|
+
* preflighting.
|
|
371
|
+
* @return Number of chars in the data. Does not include a trailing NUL.
|
|
372
|
+
* @stable ICU 68
|
|
373
|
+
*/
|
|
374
|
+
U_CAPI int32_t U_EXPORT2
|
|
375
|
+
unumrf_resultGetFirstDecimalNumber(
|
|
376
|
+
const UFormattedNumberRange* uresult,
|
|
377
|
+
char* dest,
|
|
378
|
+
int32_t destCapacity,
|
|
379
|
+
UErrorCode* ec);
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Extracts the second formatted number as a decimal number. This endpoint
|
|
384
|
+
* is useful for obtaining the exact number being printed after scaling
|
|
385
|
+
* and rounding have been applied by the number range formatting pipeline.
|
|
386
|
+
*
|
|
387
|
+
* The syntax of the unformatted number is a "numeric string"
|
|
388
|
+
* as defined in the Decimal Arithmetic Specification, available at
|
|
389
|
+
* http://speleotrove.com/decimal
|
|
390
|
+
*
|
|
391
|
+
* @param uresult The input object containing the formatted number range.
|
|
392
|
+
* @param dest the 8-bit char buffer into which the decimal number is placed
|
|
393
|
+
* @param destCapacity The size, in chars, of the destination buffer. May be zero
|
|
394
|
+
* for precomputing the required size.
|
|
395
|
+
* @param ec receives any error status.
|
|
396
|
+
* If U_BUFFER_OVERFLOW_ERROR: Returns number of chars for
|
|
397
|
+
* preflighting.
|
|
398
|
+
* @return Number of chars in the data. Does not include a trailing NUL.
|
|
399
|
+
* @stable ICU 68
|
|
400
|
+
*/
|
|
401
|
+
U_CAPI int32_t U_EXPORT2
|
|
402
|
+
unumrf_resultGetSecondDecimalNumber(
|
|
403
|
+
const UFormattedNumberRange* uresult,
|
|
404
|
+
char* dest,
|
|
405
|
+
int32_t destCapacity,
|
|
406
|
+
UErrorCode* ec);
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Releases the UNumberFormatter created by unumf_openForSkeletonAndLocale().
|
|
411
|
+
*
|
|
412
|
+
* @param uformatter An object created by unumf_openForSkeletonAndLocale().
|
|
413
|
+
* @stable ICU 68
|
|
414
|
+
*/
|
|
415
|
+
U_CAPI void U_EXPORT2
|
|
416
|
+
unumrf_close(UNumberRangeFormatter* uformatter);
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Releases the UFormattedNumber created by unumf_openResult().
|
|
421
|
+
*
|
|
422
|
+
* @param uresult An object created by unumf_openResult().
|
|
423
|
+
* @stable ICU 68
|
|
424
|
+
*/
|
|
425
|
+
U_CAPI void U_EXPORT2
|
|
426
|
+
unumrf_closeResult(UFormattedNumberRange* uresult);
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
#if U_SHOW_CPLUSPLUS_API
|
|
430
|
+
U_NAMESPACE_BEGIN
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* \class LocalUNumberRangeFormatterPointer
|
|
434
|
+
* "Smart pointer" class; closes a UNumberFormatter via unumf_close().
|
|
435
|
+
* For most methods see the LocalPointerBase base class.
|
|
436
|
+
*
|
|
437
|
+
* Usage:
|
|
438
|
+
* <pre>
|
|
439
|
+
* LocalUNumberRangeFormatterPointer uformatter(
|
|
440
|
+
* unumrf_openForSkeletonCollapseIdentityFallbackAndLocaleWithError(...));
|
|
441
|
+
* // no need to explicitly call unumrf_close()
|
|
442
|
+
* </pre>
|
|
443
|
+
*
|
|
444
|
+
* @see LocalPointerBase
|
|
445
|
+
* @see LocalPointer
|
|
446
|
+
* @stable ICU 68
|
|
447
|
+
*/
|
|
448
|
+
U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberRangeFormatterPointer, UNumberRangeFormatter, unumrf_close);
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* \class LocalUFormattedNumberPointer
|
|
452
|
+
* "Smart pointer" class; closes a UFormattedNumber via unumf_closeResult().
|
|
453
|
+
* For most methods see the LocalPointerBase base class.
|
|
454
|
+
*
|
|
455
|
+
* Usage:
|
|
456
|
+
* <pre>
|
|
457
|
+
* LocalUFormattedNumberRangePointer uresult(unumrf_openResult(...));
|
|
458
|
+
* // no need to explicitly call unumrf_closeResult()
|
|
459
|
+
* </pre>
|
|
460
|
+
*
|
|
461
|
+
* @see LocalPointerBase
|
|
462
|
+
* @see LocalPointer
|
|
463
|
+
* @stable ICU 68
|
|
464
|
+
*/
|
|
465
|
+
U_DEFINE_LOCAL_OPEN_POINTER(LocalUFormattedNumberRangePointer, UFormattedNumberRange, unumrf_closeResult);
|
|
466
|
+
|
|
467
|
+
U_NAMESPACE_END
|
|
468
|
+
#endif // U_SHOW_CPLUSPLUS_API
|
|
469
|
+
|
|
470
|
+
#endif /* #if !UCONFIG_NO_FORMATTING */
|
|
471
|
+
#endif //__UNUMBERRANGEFORMATTER_H__
|