@swiftbrowser/wasm-sdk-foundation 0.0.0-stage → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,79 @@
|
|
|
1
|
+
/* CFData.h
|
|
2
|
+
Copyright (c) 1998-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATA__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATA__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFBase.h"
|
|
14
|
+
|
|
15
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
16
|
+
CF_EXTERN_C_BEGIN
|
|
17
|
+
|
|
18
|
+
typedef const struct CF_BRIDGED_TYPE(NSData) __CFData * CFDataRef;
|
|
19
|
+
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableData) __CFData * CFMutableDataRef;
|
|
20
|
+
|
|
21
|
+
CF_EXPORT
|
|
22
|
+
CFTypeID CFDataGetTypeID(void);
|
|
23
|
+
|
|
24
|
+
CF_EXPORT
|
|
25
|
+
CFDataRef CFDataCreate(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length);
|
|
26
|
+
|
|
27
|
+
CF_EXPORT
|
|
28
|
+
CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
|
|
29
|
+
/* Pass kCFAllocatorNull as bytesDeallocator to assure the bytes aren't freed */
|
|
30
|
+
|
|
31
|
+
CF_EXPORT
|
|
32
|
+
CFDataRef CFDataCreateCopy(CFAllocatorRef allocator, CFDataRef theData);
|
|
33
|
+
|
|
34
|
+
CF_EXPORT
|
|
35
|
+
CFMutableDataRef CFDataCreateMutable(CFAllocatorRef allocator, CFIndex capacity);
|
|
36
|
+
|
|
37
|
+
CF_EXPORT
|
|
38
|
+
CFMutableDataRef CFDataCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFDataRef theData);
|
|
39
|
+
|
|
40
|
+
CF_EXPORT
|
|
41
|
+
CFIndex CFDataGetLength(CFDataRef theData);
|
|
42
|
+
|
|
43
|
+
CF_EXPORT
|
|
44
|
+
const UInt8 *CFDataGetBytePtr(CFDataRef theData);
|
|
45
|
+
|
|
46
|
+
CF_EXPORT
|
|
47
|
+
UInt8 *CFDataGetMutableBytePtr(CFMutableDataRef theData);
|
|
48
|
+
|
|
49
|
+
CF_EXPORT
|
|
50
|
+
void CFDataGetBytes(CFDataRef theData, CFRange range, UInt8 *buffer);
|
|
51
|
+
|
|
52
|
+
CF_EXPORT
|
|
53
|
+
void CFDataSetLength(CFMutableDataRef theData, CFIndex length);
|
|
54
|
+
|
|
55
|
+
CF_EXPORT
|
|
56
|
+
void CFDataIncreaseLength(CFMutableDataRef theData, CFIndex extraLength);
|
|
57
|
+
|
|
58
|
+
CF_EXPORT
|
|
59
|
+
void CFDataAppendBytes(CFMutableDataRef theData, const UInt8 *bytes, CFIndex length);
|
|
60
|
+
|
|
61
|
+
CF_EXPORT
|
|
62
|
+
void CFDataReplaceBytes(CFMutableDataRef theData, CFRange range, const UInt8 *newBytes, CFIndex newLength);
|
|
63
|
+
|
|
64
|
+
CF_EXPORT
|
|
65
|
+
void CFDataDeleteBytes(CFMutableDataRef theData, CFRange range);
|
|
66
|
+
|
|
67
|
+
typedef CF_OPTIONS(CFOptionFlags, CFDataSearchFlags) {
|
|
68
|
+
kCFDataSearchBackwards = 1UL << 0,
|
|
69
|
+
kCFDataSearchAnchored = 1UL << 1
|
|
70
|
+
} API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
|
|
71
|
+
|
|
72
|
+
CF_EXPORT
|
|
73
|
+
CFRange CFDataFind(CFDataRef theData, CFDataRef dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions) API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
|
|
74
|
+
|
|
75
|
+
CF_EXTERN_C_END
|
|
76
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
77
|
+
|
|
78
|
+
#endif /* ! __COREFOUNDATION_CFDATA__ */
|
|
79
|
+
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/* CFDate.h
|
|
2
|
+
Copyright (c) 1998-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATE__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATE__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFBase.h"
|
|
14
|
+
|
|
15
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
16
|
+
CF_EXTERN_C_BEGIN
|
|
17
|
+
|
|
18
|
+
typedef double CFTimeInterval;
|
|
19
|
+
typedef CFTimeInterval CFAbsoluteTime;
|
|
20
|
+
/* absolute time is the time interval since the reference date */
|
|
21
|
+
/* the reference date (epoch) is 00:00:00 1 January 2001. */
|
|
22
|
+
|
|
23
|
+
CF_EXPORT
|
|
24
|
+
CFAbsoluteTime CFAbsoluteTimeGetCurrent(void);
|
|
25
|
+
|
|
26
|
+
CF_EXPORT
|
|
27
|
+
const CFTimeInterval kCFAbsoluteTimeIntervalSince1970;
|
|
28
|
+
CF_EXPORT
|
|
29
|
+
const CFTimeInterval kCFAbsoluteTimeIntervalSince1904;
|
|
30
|
+
|
|
31
|
+
typedef const struct CF_BRIDGED_TYPE(NSDate) __CFDate * CFDateRef;
|
|
32
|
+
|
|
33
|
+
CF_EXPORT
|
|
34
|
+
CFTypeID CFDateGetTypeID(void);
|
|
35
|
+
|
|
36
|
+
CF_EXPORT
|
|
37
|
+
CFDateRef CFDateCreate(CFAllocatorRef allocator, CFAbsoluteTime at);
|
|
38
|
+
|
|
39
|
+
CF_EXPORT
|
|
40
|
+
CFAbsoluteTime CFDateGetAbsoluteTime(CFDateRef theDate);
|
|
41
|
+
|
|
42
|
+
CF_EXPORT
|
|
43
|
+
CFTimeInterval CFDateGetTimeIntervalSinceDate(CFDateRef theDate, CFDateRef otherDate);
|
|
44
|
+
|
|
45
|
+
CF_EXPORT
|
|
46
|
+
CFComparisonResult CFDateCompare(CFDateRef theDate, CFDateRef otherDate, void *context);
|
|
47
|
+
|
|
48
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
49
|
+
|
|
50
|
+
typedef const struct CF_BRIDGED_TYPE(NSTimeZone) __CFTimeZone * CFTimeZoneRef;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
#if !defined(CF_CALENDAR_ENUM_DEPRECATED)
|
|
54
|
+
#define CF_CALENDAR_ENUM_DEPRECATED(A, B, C, D, ...) CF_ENUM_DEPRECATED(A, B, C, D, __VA_ARGS__)
|
|
55
|
+
#define CF_CALENDAR_DEPRECATED(A, B, C, D, ...) CF_DEPRECATED(A, B, C, D, __VA_ARGS__)
|
|
56
|
+
#endif
|
|
57
|
+
|
|
58
|
+
typedef struct {
|
|
59
|
+
SInt32 year;
|
|
60
|
+
SInt8 month;
|
|
61
|
+
SInt8 day;
|
|
62
|
+
SInt8 hour;
|
|
63
|
+
SInt8 minute;
|
|
64
|
+
double second;
|
|
65
|
+
} CFGregorianDate API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
66
|
+
|
|
67
|
+
typedef struct {
|
|
68
|
+
SInt32 years;
|
|
69
|
+
SInt32 months;
|
|
70
|
+
SInt32 days;
|
|
71
|
+
SInt32 hours;
|
|
72
|
+
SInt32 minutes;
|
|
73
|
+
double seconds;
|
|
74
|
+
} CFGregorianUnits API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
75
|
+
|
|
76
|
+
typedef CF_OPTIONS(CFOptionFlags, CFGregorianUnitFlags) {
|
|
77
|
+
kCFGregorianUnitsYears API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = (1UL << 0),
|
|
78
|
+
kCFGregorianUnitsMonths API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = (1UL << 1),
|
|
79
|
+
kCFGregorianUnitsDays API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = (1UL << 2),
|
|
80
|
+
kCFGregorianUnitsHours API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = (1UL << 3),
|
|
81
|
+
kCFGregorianUnitsMinutes API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = (1UL << 4),
|
|
82
|
+
kCFGregorianUnitsSeconds API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = (1UL << 5),
|
|
83
|
+
kCFGregorianAllUnits API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0)) = 0x00FFFFFF
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
CF_EXPORT
|
|
87
|
+
Boolean CFGregorianDateIsValid(CFGregorianDate gdate, CFOptionFlags unitFlags) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
88
|
+
|
|
89
|
+
CF_EXPORT
|
|
90
|
+
CFAbsoluteTime CFGregorianDateGetAbsoluteTime(CFGregorianDate gdate, CFTimeZoneRef tz) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
91
|
+
|
|
92
|
+
CF_EXPORT
|
|
93
|
+
CFGregorianDate CFAbsoluteTimeGetGregorianDate(CFAbsoluteTime at, CFTimeZoneRef tz) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
94
|
+
|
|
95
|
+
CF_EXPORT
|
|
96
|
+
CFAbsoluteTime CFAbsoluteTimeAddGregorianUnits(CFAbsoluteTime at, CFTimeZoneRef tz, CFGregorianUnits units) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
97
|
+
|
|
98
|
+
CF_EXPORT
|
|
99
|
+
CFGregorianUnits CFAbsoluteTimeGetDifferenceAsGregorianUnits(CFAbsoluteTime at1, CFAbsoluteTime at2, CFTimeZoneRef tz, CFOptionFlags unitFlags) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
100
|
+
|
|
101
|
+
CF_EXPORT
|
|
102
|
+
SInt32 CFAbsoluteTimeGetDayOfWeek(CFAbsoluteTime at, CFTimeZoneRef tz) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
103
|
+
|
|
104
|
+
CF_EXPORT
|
|
105
|
+
SInt32 CFAbsoluteTimeGetDayOfYear(CFAbsoluteTime at, CFTimeZoneRef tz) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
106
|
+
|
|
107
|
+
CF_EXPORT
|
|
108
|
+
SInt32 CFAbsoluteTimeGetWeekOfYear(CFAbsoluteTime at, CFTimeZoneRef tz) API_DEPRECATED("Use CFCalendar or NSCalendar API instead", macos(10.4, 10.10), ios(2.0, 8.0), watchos(2.0, 2.0), tvos(9.0, 9.0));
|
|
109
|
+
|
|
110
|
+
CF_EXTERN_C_END
|
|
111
|
+
|
|
112
|
+
#endif /* ! __COREFOUNDATION_CFDATE__ */
|
|
113
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* CFDateComponents.h
|
|
2
|
+
Copyright (c) 2004-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATECOMPONENTS__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATECOMPONENTS__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFBase.h"
|
|
14
|
+
|
|
15
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
16
|
+
CF_EXTERN_C_BEGIN
|
|
17
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
19
|
+
// Must match NSDateComponentUndefined
|
|
20
|
+
CF_ENUM(CFIndex) {
|
|
21
|
+
#if TARGET_OS_WIN32
|
|
22
|
+
CFDateComponentUndefined = LLONG_MAX
|
|
23
|
+
#else
|
|
24
|
+
CFDateComponentUndefined = __LONG_MAX__
|
|
25
|
+
#endif
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
enum {
|
|
29
|
+
kCFCalendarUnitNanosecond = (1 << 15), // Must match NSCalendarUnitNanosecond
|
|
30
|
+
kCFCalendarUnitCalendar = (1 << 20), // Must match NSCalendarUnitCalendar
|
|
31
|
+
kCFCalendarUnitTimeZone = (1 << 21), // Must match NSCalendarUnitTimeZone
|
|
32
|
+
kCFCalendarUnitLeapMonth = (1 << 30)
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
typedef struct CF_BRIDGED_TYPE(id) __CFDateComponents * CFDateComponentsRef;
|
|
36
|
+
|
|
37
|
+
CF_EXPORT
|
|
38
|
+
CFDateComponentsRef _Nullable CFDateComponentsCreate(CFAllocatorRef _Nullable allocator) CF_RETURNS_RETAINED;
|
|
39
|
+
|
|
40
|
+
CF_EXPORT
|
|
41
|
+
CFIndex CFDateComponentsGetValue(CFDateComponentsRef dateComp, CFCalendarUnit unit);
|
|
42
|
+
|
|
43
|
+
CF_EXPORT
|
|
44
|
+
void CFDateComponentsSetValue(CFDateComponentsRef dateComp, CFCalendarUnit unit, CFIndex value);
|
|
45
|
+
|
|
46
|
+
CF_EXPORT
|
|
47
|
+
CFCalendarRef _Nullable CFDateComponentsCopyCalendar(CFDateComponentsRef dateComp);
|
|
48
|
+
|
|
49
|
+
CF_EXPORT
|
|
50
|
+
void CFDateComponentsSetCalendar(CFDateComponentsRef dateComp, CFCalendarRef _Nullable calendar);
|
|
51
|
+
|
|
52
|
+
CF_EXPORT
|
|
53
|
+
CFTimeZoneRef _Nullable CFDateComponentsCopyTimeZone(CFDateComponentsRef dateComp);
|
|
54
|
+
|
|
55
|
+
CF_EXPORT
|
|
56
|
+
void CFDateComponentsSetTimeZone(CFDateComponentsRef dateComp, CFTimeZoneRef _Nullable timeZone);
|
|
57
|
+
|
|
58
|
+
CF_EXPORT
|
|
59
|
+
Boolean CFDateComponentsIsLeapMonthSet(CFDateComponentsRef dc);
|
|
60
|
+
|
|
61
|
+
CF_EXPORT
|
|
62
|
+
Boolean CFDateComponentsIsLeapMonth(CFDateComponentsRef dc);
|
|
63
|
+
|
|
64
|
+
CF_EXPORT
|
|
65
|
+
Boolean CFDateComponentsIsValidDate(CFDateComponentsRef dateComp);
|
|
66
|
+
|
|
67
|
+
CF_EXPORT
|
|
68
|
+
Boolean CFDateComponentsIsValidDateInCalendar(CFDateComponentsRef dateComp, CFCalendarRef _Nullable calendar);
|
|
69
|
+
|
|
70
|
+
// Calendar API
|
|
71
|
+
|
|
72
|
+
CF_EXPORT
|
|
73
|
+
Boolean CFDateComponentsDateMatchesComponents(CFDateComponentsRef dateComp, CFCalendarRef calendar, CFDateRef date);
|
|
74
|
+
|
|
75
|
+
CF_EXPORT
|
|
76
|
+
CFDateRef _Nullable CFCalendarCreateDateFromComponents(CFAllocatorRef _Nullable allocator, CFCalendarRef calendar, CFDateComponentsRef dateComp);
|
|
77
|
+
|
|
78
|
+
CF_EXPORT
|
|
79
|
+
CFIndex CFCalendarGetComponentFromDate(CFCalendarRef calendar, CFCalendarUnit unit, CFDateRef date);
|
|
80
|
+
|
|
81
|
+
CF_EXPORT
|
|
82
|
+
CFDateComponentsRef CFCalendarCreateDateComponentsFromDate(CFAllocatorRef _Nullable allocator, CFCalendarRef calendar, CFCalendarUnit units, CFDateRef date);
|
|
83
|
+
|
|
84
|
+
CF_EXPORT
|
|
85
|
+
CFDateComponentsRef CFDateComponentsCreateCopy(CFAllocatorRef allocator, CFDateComponentsRef dc);
|
|
86
|
+
|
|
87
|
+
CF_ASSUME_NONNULL_END
|
|
88
|
+
CF_EXTERN_C_END
|
|
89
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
#endif /* ! __COREFOUNDATION_CFDATECOMPONENTS__ */
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* CFDateFormatter.h
|
|
2
|
+
Copyright (c) 2003-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATEFORMATTER__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATEFORMATTER__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFBase.h"
|
|
14
|
+
#include "CFDate.h"
|
|
15
|
+
#include "CFLocale.h"
|
|
16
|
+
|
|
17
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
18
|
+
CF_EXTERN_C_BEGIN
|
|
19
|
+
|
|
20
|
+
typedef CFStringRef CFDateFormatterKey CF_STRING_ENUM;
|
|
21
|
+
|
|
22
|
+
typedef struct CF_BRIDGED_MUTABLE_TYPE(id) __CFDateFormatter *CFDateFormatterRef;
|
|
23
|
+
|
|
24
|
+
// CFDateFormatters are not thread-safe. Do not use one from multiple threads!
|
|
25
|
+
|
|
26
|
+
CF_EXPORT
|
|
27
|
+
CFStringRef CFDateFormatterCreateDateFormatFromTemplate(CFAllocatorRef allocator, CFStringRef tmplate, CFOptionFlags options, CFLocaleRef locale) API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0));
|
|
28
|
+
// no options defined, pass 0 for now
|
|
29
|
+
|
|
30
|
+
CF_EXPORT
|
|
31
|
+
CFTypeID CFDateFormatterGetTypeID(void);
|
|
32
|
+
|
|
33
|
+
// The exact formatted result for these date and time styles depends on the
|
|
34
|
+
// locale, but generally:
|
|
35
|
+
// Short is completely numeric, such as "12/13/52" or "3:30pm"
|
|
36
|
+
// Medium is longer, such as "Jan 12, 1952"
|
|
37
|
+
// Long is longer, such as "January 12, 1952" or "3:30:32pm"
|
|
38
|
+
// Full is pretty complete; e.g. "Tuesday, April 12, 1952 AD" or "3:30:42pm PST"
|
|
39
|
+
// The specifications though are left fuzzy, in part simply because a user's
|
|
40
|
+
// preference choices may affect the output, and also the results may change
|
|
41
|
+
// from one OS release to another. To produce an exactly formatted date you
|
|
42
|
+
// should not rely on styles and localization, but set the format string and
|
|
43
|
+
// use nothing but numbers.
|
|
44
|
+
|
|
45
|
+
typedef CF_ENUM(CFIndex, CFDateFormatterStyle) { // date and time format styles
|
|
46
|
+
kCFDateFormatterNoStyle = 0,
|
|
47
|
+
kCFDateFormatterShortStyle = 1,
|
|
48
|
+
kCFDateFormatterMediumStyle = 2,
|
|
49
|
+
kCFDateFormatterLongStyle = 3,
|
|
50
|
+
kCFDateFormatterFullStyle = 4
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
typedef CF_OPTIONS(CFOptionFlags, CFISO8601DateFormatOptions) {
|
|
54
|
+
/* The format for year is inferred based on whether or not the week of year option is specified.
|
|
55
|
+
- if week of year is present, "YYYY" is used to display week dates.
|
|
56
|
+
- if week of year is not present, "yyyy" is used by default.
|
|
57
|
+
*/
|
|
58
|
+
kCFISO8601DateFormatWithYear API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 0),
|
|
59
|
+
kCFISO8601DateFormatWithMonth API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 1),
|
|
60
|
+
|
|
61
|
+
kCFISO8601DateFormatWithWeekOfYear API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 2), // This includes the "W" prefix (e.g. "W49")
|
|
62
|
+
|
|
63
|
+
/* The format for day is inferred based on provided options.
|
|
64
|
+
- if month is not present, day of year ("DDD") is used.
|
|
65
|
+
- if month is present, day of month ("dd") is used.
|
|
66
|
+
- if either weekOfMonth or weekOfYear is present, local day of week ("ee") is used.
|
|
67
|
+
*/
|
|
68
|
+
kCFISO8601DateFormatWithDay API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 4),
|
|
69
|
+
|
|
70
|
+
kCFISO8601DateFormatWithTime API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 5), // This uses the format "HHmmss"
|
|
71
|
+
kCFISO8601DateFormatWithTimeZone API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 6),
|
|
72
|
+
|
|
73
|
+
kCFISO8601DateFormatWithSpaceBetweenDateAndTime API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 7), // Use space instead of "T"
|
|
74
|
+
kCFISO8601DateFormatWithDashSeparatorInDate API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 8), // Add separator for date ("-")
|
|
75
|
+
kCFISO8601DateFormatWithColonSeparatorInTime API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 9), // Add separator for time (":")
|
|
76
|
+
kCFISO8601DateFormatWithColonSeparatorInTimeZone API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = (1UL << 10), // Add ":" separator in timezone (eg. +08:00)
|
|
77
|
+
kCFISO8601DateFormatWithFractionalSeconds API_AVAILABLE(macosx(10.13), ios(11.0), watchos(4.0), tvos(11.0)) = (1UL << 11), // Add 3 significant digits of fractional seconds (".SSS")
|
|
78
|
+
|
|
79
|
+
kCFISO8601DateFormatWithFullDate API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = kCFISO8601DateFormatWithYear | kCFISO8601DateFormatWithMonth | kCFISO8601DateFormatWithDay | kCFISO8601DateFormatWithDashSeparatorInDate,
|
|
80
|
+
kCFISO8601DateFormatWithFullTime API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = kCFISO8601DateFormatWithTime | kCFISO8601DateFormatWithColonSeparatorInTime | kCFISO8601DateFormatWithTimeZone | kCFISO8601DateFormatWithColonSeparatorInTimeZone,
|
|
81
|
+
|
|
82
|
+
kCFISO8601DateFormatWithInternetDateTime API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0)) = kCFISO8601DateFormatWithFullDate | kCFISO8601DateFormatWithFullTime, // RFC3339
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
CF_EXPORT
|
|
86
|
+
CFDateFormatterRef CFDateFormatterCreateISO8601Formatter(CFAllocatorRef allocator, CFISO8601DateFormatOptions formatOptions) API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
|
|
87
|
+
|
|
88
|
+
CF_EXPORT
|
|
89
|
+
CFDateFormatterRef CFDateFormatterCreate(CFAllocatorRef allocator, CFLocaleRef locale, CFDateFormatterStyle dateStyle, CFDateFormatterStyle timeStyle);
|
|
90
|
+
// Returns a CFDateFormatter, localized to the given locale, which
|
|
91
|
+
// will format dates to the given date and time styles.
|
|
92
|
+
|
|
93
|
+
CF_EXPORT
|
|
94
|
+
CFLocaleRef CFDateFormatterGetLocale(CFDateFormatterRef formatter);
|
|
95
|
+
|
|
96
|
+
CF_EXPORT
|
|
97
|
+
CFDateFormatterStyle CFDateFormatterGetDateStyle(CFDateFormatterRef formatter);
|
|
98
|
+
|
|
99
|
+
CF_EXPORT
|
|
100
|
+
CFDateFormatterStyle CFDateFormatterGetTimeStyle(CFDateFormatterRef formatter);
|
|
101
|
+
// Get the properties with which the date formatter was created.
|
|
102
|
+
|
|
103
|
+
CF_EXPORT
|
|
104
|
+
CFStringRef CFDateFormatterGetFormat(CFDateFormatterRef formatter);
|
|
105
|
+
|
|
106
|
+
CF_EXPORT
|
|
107
|
+
void CFDateFormatterSetFormat(CFDateFormatterRef formatter, CFStringRef formatString);
|
|
108
|
+
// Set the format description string of the date formatter. This
|
|
109
|
+
// overrides the style settings. The format of the format string
|
|
110
|
+
// is as defined by the ICU library. The date formatter starts with a
|
|
111
|
+
// default format string defined by the style arguments with
|
|
112
|
+
// which it was created.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
CF_EXPORT
|
|
116
|
+
CFStringRef CFDateFormatterCreateStringWithDate(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFDateRef date);
|
|
117
|
+
|
|
118
|
+
CF_EXPORT
|
|
119
|
+
CFStringRef CFDateFormatterCreateStringWithAbsoluteTime(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFAbsoluteTime at);
|
|
120
|
+
// Create a string representation of the given date or CFAbsoluteTime
|
|
121
|
+
// using the current state of the date formatter.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
CF_EXPORT
|
|
125
|
+
CFDateRef CFDateFormatterCreateDateFromString(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFStringRef string, CFRange *rangep);
|
|
126
|
+
|
|
127
|
+
CF_EXPORT
|
|
128
|
+
Boolean CFDateFormatterGetAbsoluteTimeFromString(CFDateFormatterRef formatter, CFStringRef string, CFRange *rangep, CFAbsoluteTime *atp);
|
|
129
|
+
// Parse a string representation of a date using the current state
|
|
130
|
+
// of the date formatter. The range parameter specifies the range
|
|
131
|
+
// of the string in which the parsing should occur in input, and on
|
|
132
|
+
// output indicates the extent that was used; this parameter can
|
|
133
|
+
// be NULL, in which case the whole string may be used. The
|
|
134
|
+
// return value indicates whether some date was computed and
|
|
135
|
+
// (if atp is not NULL) stored at the location specified by atp.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
CF_EXPORT
|
|
139
|
+
void CFDateFormatterSetProperty(CFDateFormatterRef formatter, CFStringRef key, CFTypeRef value);
|
|
140
|
+
|
|
141
|
+
CF_EXPORT
|
|
142
|
+
CFTypeRef CFDateFormatterCopyProperty(CFDateFormatterRef formatter, CFDateFormatterKey key);
|
|
143
|
+
// Set and get various properties of the date formatter, the set of
|
|
144
|
+
// which may be expanded in the future.
|
|
145
|
+
|
|
146
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterIsLenient; // CFBoolean
|
|
147
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterTimeZone; // CFTimeZone
|
|
148
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterCalendarName; // CFString
|
|
149
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterDefaultFormat; // CFString
|
|
150
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterTwoDigitStartDate; // CFDate
|
|
151
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterDefaultDate; // CFDate
|
|
152
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterCalendar; // CFCalendar
|
|
153
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterEraSymbols; // CFArray of CFString
|
|
154
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterMonthSymbols; // CFArray of CFString
|
|
155
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterShortMonthSymbols; // CFArray of CFString
|
|
156
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterWeekdaySymbols; // CFArray of CFString
|
|
157
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterShortWeekdaySymbols; // CFArray of CFString
|
|
158
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterAMSymbol; // CFString
|
|
159
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterPMSymbol; // CFString
|
|
160
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterLongEraSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
161
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterVeryShortMonthSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
162
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterStandaloneMonthSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
163
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterShortStandaloneMonthSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
164
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterVeryShortStandaloneMonthSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
165
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterVeryShortWeekdaySymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
166
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterStandaloneWeekdaySymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
167
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterShortStandaloneWeekdaySymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
168
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterVeryShortStandaloneWeekdaySymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
169
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterQuarterSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
170
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterShortQuarterSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
171
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterStandaloneQuarterSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
172
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterShortStandaloneQuarterSymbols API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFArray of CFString
|
|
173
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterGregorianStartDate API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); // CFDate
|
|
174
|
+
CF_EXPORT const CFDateFormatterKey kCFDateFormatterDoesRelativeDateFormattingKey API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0)); // CFBoolean
|
|
175
|
+
|
|
176
|
+
// See CFLocale.h for these calendar constants:
|
|
177
|
+
// const CFStringRef kCFGregorianCalendar;
|
|
178
|
+
// const CFStringRef kCFBuddhistCalendar;
|
|
179
|
+
// const CFStringRef kCFJapaneseCalendar;
|
|
180
|
+
// const CFStringRef kCFIslamicCalendar;
|
|
181
|
+
// const CFStringRef kCFIslamicCivilCalendar;
|
|
182
|
+
// const CFStringRef kCFHebrewCalendar;
|
|
183
|
+
// const CFStringRef kCFChineseCalendar;
|
|
184
|
+
// const CFStringRef kCFRepublicOfChinaCalendar;
|
|
185
|
+
// const CFStringRef kCFPersianCalendar;
|
|
186
|
+
// const CFStringRef kCFIndianCalendar;
|
|
187
|
+
// const CFStringRef kCFISO8601Calendar;
|
|
188
|
+
|
|
189
|
+
CF_EXTERN_C_END
|
|
190
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
191
|
+
|
|
192
|
+
#endif /* ! __COREFOUNDATION_CFDATEFORMATTER__ */
|
|
193
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* CFDateFormatter_Private.h
|
|
2
|
+
Copyright (c) 2015-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATEFORMATTER_PRIVATE__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATEFORMATTER_PRIVATE__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFDateFormatter.h"
|
|
14
|
+
#include "CFAttributedString.h"
|
|
15
|
+
|
|
16
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
17
|
+
CF_EXTERN_C_BEGIN
|
|
18
|
+
|
|
19
|
+
CF_EXPORT
|
|
20
|
+
CFAttributedStringRef _CFDateFormatterCreateAttributedStringAndFieldsWithAbsoluteTime(CFAllocatorRef allocator, CFDateFormatterRef formatter, CFAbsoluteTime at) API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
|
|
21
|
+
|
|
22
|
+
CF_EXPORT const CFStringRef kCFDateFormatterPatternCharacterKey API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
|
|
23
|
+
CF_EXPORT const CFStringRef kCFDateFormatterPatternLiteralKey API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
|
|
24
|
+
CF_EXPORT const CFStringRef kCFDateFormatterPatternStringKey API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
|
|
25
|
+
CF_EXPORT const CFStringRef kCFDateFormatterPatternRangeKey API_AVAILABLE(macos(10.11), ios(9.0), watchos(2.0), tvos(9.0));
|
|
26
|
+
|
|
27
|
+
CF_EXTERN_C_END
|
|
28
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
29
|
+
|
|
30
|
+
#endif /* ! __COREFOUNDATION_CFDATEFORMATTER_PRIVATE__ */
|
|
31
|
+
|
package/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CFDateInterval.h
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* CFDateInterval.h
|
|
2
|
+
Copyright (c) 2004-2019, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2014-2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATEINTERVAL__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATEINTERVAL__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFBase.h"
|
|
14
|
+
#include "CFDate.h"
|
|
15
|
+
|
|
16
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
17
|
+
CF_EXTERN_C_BEGIN
|
|
18
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
19
|
+
|
|
20
|
+
typedef struct __CFDateInterval * CFDateIntervalRef;
|
|
21
|
+
|
|
22
|
+
CF_EXPORT CFDateIntervalRef CFDateIntervalCreate(CFAllocatorRef _Nullable allocator, CFDateRef startDate, CFTimeInterval duration) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
23
|
+
|
|
24
|
+
CF_EXPORT CFDateIntervalRef CFDateIntervalCreateWithEndDate(CFAllocatorRef _Nullable allocator, CFDateRef startDate, CFDateRef endDate) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
25
|
+
|
|
26
|
+
CF_EXPORT CFTimeInterval CFDateIntervalGetDuration(CFDateIntervalRef interval) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
27
|
+
|
|
28
|
+
CF_EXPORT CFDateRef CFDateIntervalCopyStartDate(CFDateIntervalRef interval) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
29
|
+
|
|
30
|
+
CF_EXPORT CFDateRef CFDateIntervalCopyEndDate(CFDateIntervalRef interval) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
Comparison prioritizes ordering by start date. If the start dates are equal, then it will order by duration.
|
|
34
|
+
e.g.
|
|
35
|
+
Given intervals a and b
|
|
36
|
+
a. |-----|
|
|
37
|
+
b. |-----|
|
|
38
|
+
CFDateIntervalCompare(a, b) would return kCFCompareLessThan because a's startDate is earlier in time than b's start date.
|
|
39
|
+
|
|
40
|
+
In the event that the start dates are equal, the compare method will attempt to order by duration.
|
|
41
|
+
e.g.
|
|
42
|
+
Given intervals c and d
|
|
43
|
+
c. |-----|
|
|
44
|
+
d. |---|
|
|
45
|
+
CFDateIntervalCompare(c, d)would result in kCFCompareGreaterThan because c is longer than d.
|
|
46
|
+
|
|
47
|
+
If both the start dates and the durations are equal, then the intervals are considered equal and kCFCompareEqualTo is returned as the result.
|
|
48
|
+
*/
|
|
49
|
+
CF_EXPORT CFComparisonResult CFDateIntervalCompare(CFDateIntervalRef interval1, CFDateIntervalRef interval2) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
50
|
+
|
|
51
|
+
CF_EXPORT Boolean CFDateIntervalIntersectsDateInterval(CFDateIntervalRef interval, CFDateIntervalRef intervalToIntersect) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
52
|
+
|
|
53
|
+
CF_EXPORT CFDateIntervalRef _Nullable CFDateIntervalCreateIntersectionWithDateInterval(CFAllocatorRef _Nullable allocator, CFDateIntervalRef interval, CFDateIntervalRef intervalToIntersect) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
54
|
+
|
|
55
|
+
CF_EXPORT Boolean CFDateIntervalContainsDate(CFDateIntervalRef interval, CFDateRef date) API_AVAILABLE(macos(10.14), ios(12.0), watchos(5.0), tvos(12.0));
|
|
56
|
+
|
|
57
|
+
CF_ASSUME_NONNULL_END
|
|
58
|
+
CF_EXTERN_C_END
|
|
59
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
60
|
+
|
|
61
|
+
#endif
|
|
62
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* CFDateIntervalFormatter.h
|
|
2
|
+
Copyright (c) 1998-2018, Apple Inc. and the Swift project authors
|
|
3
|
+
|
|
4
|
+
Portions Copyright (c) 2019, Apple Inc. and the Swift project authors
|
|
5
|
+
Licensed under Apache License v2.0 with Runtime Library Exception
|
|
6
|
+
See http://swift.org/LICENSE.txt for license information
|
|
7
|
+
See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
#if !defined(__COREFOUNDATION_CFDATEINTERVALFORMATTER__)
|
|
11
|
+
#define __COREFOUNDATION_CFDATEINTERVALFORMATTER__ 1
|
|
12
|
+
|
|
13
|
+
#include "CFBase.h"
|
|
14
|
+
#include "CFCalendar.h"
|
|
15
|
+
#include "CFDateInterval.h"
|
|
16
|
+
#include "CFLocale.h"
|
|
17
|
+
#include "CFString.h"
|
|
18
|
+
#include "CFTimeZone.h"
|
|
19
|
+
|
|
20
|
+
CF_ASSUME_NONNULL_BEGIN
|
|
21
|
+
CF_IMPLICIT_BRIDGING_ENABLED
|
|
22
|
+
CF_EXTERN_C_BEGIN
|
|
23
|
+
|
|
24
|
+
typedef struct CF_BRIDGED_TYPE(id) __CFDateIntervalFormatter * CFDateIntervalFormatterRef;
|
|
25
|
+
|
|
26
|
+
typedef CF_ENUM(CFIndex, CFDateIntervalFormatterStyle) {
|
|
27
|
+
kCFDateIntervalFormatterNoStyle = 0,
|
|
28
|
+
kCFDateIntervalFormatterShortStyle = 1,
|
|
29
|
+
kCFDateIntervalFormatterMediumStyle = 2,
|
|
30
|
+
kCFDateIntervalFormatterLongStyle = 3,
|
|
31
|
+
kCFDateIntervalFormatterFullStyle = 4,
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
typedef CF_ENUM(CFIndex, _CFDateIntervalFormatterBoundaryStyle) {
|
|
35
|
+
kCFDateIntervalFormatterBoundaryStyleDefault = 0,
|
|
36
|
+
#if TARGET_OS_MAC
|
|
37
|
+
kCFDateIntervalFormatterBoundaryStyleMinimizeAdjacentMonths = 1,
|
|
38
|
+
#endif
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
CF_EXPORT CFDateIntervalFormatterRef CFDateIntervalFormatterCreate(CFAllocatorRef _Nullable allocator, CFLocaleRef _Nullable locale, CFDateIntervalFormatterStyle dateStyle, CFDateIntervalFormatterStyle timeStyle);
|
|
42
|
+
CF_EXPORT CFDateIntervalFormatterRef CFDateIntervalFormatterCreateCopy(CFAllocatorRef _Nullable allocator, CFDateIntervalFormatterRef formatter);
|
|
43
|
+
|
|
44
|
+
CF_EXPORT CFLocaleRef CFDateIntervalFormatterCopyLocale(CFDateIntervalFormatterRef formatter);
|
|
45
|
+
CF_EXPORT void CFDateIntervalFormatterSetLocale(CFDateIntervalFormatterRef formatter, CFLocaleRef _Nullable locale);
|
|
46
|
+
|
|
47
|
+
CF_EXPORT CFCalendarRef CFDateIntervalFormatterCopyCalendar(CFDateIntervalFormatterRef formatter);
|
|
48
|
+
CF_EXPORT void CFDateIntervalFormatterSetCalendar(CFDateIntervalFormatterRef formatter, CFCalendarRef _Nullable calendar);
|
|
49
|
+
|
|
50
|
+
CF_EXPORT CFTimeZoneRef CFDateIntervalFormatterCopyTimeZone(CFDateIntervalFormatterRef formatter);
|
|
51
|
+
CF_EXPORT void CFDateIntervalFormatterSetTimeZone(CFDateIntervalFormatterRef formatter, CFTimeZoneRef _Nullable timeZone);
|
|
52
|
+
|
|
53
|
+
CF_EXPORT CFStringRef CFDateIntervalFormatterCopyDateTemplate(CFDateIntervalFormatterRef formatter);
|
|
54
|
+
CF_EXPORT void CFDateIntervalFormatterSetDateTemplate(CFDateIntervalFormatterRef formatter, CFStringRef _Nullable dateTemplate);
|
|
55
|
+
|
|
56
|
+
CF_EXPORT CFDateIntervalFormatterStyle CFDateIntervalFormatterGetDateStyle(CFDateIntervalFormatterRef formatter);
|
|
57
|
+
CF_EXPORT void CFDateIntervalFormatterSetDateStyle(CFDateIntervalFormatterRef formatter, CFDateIntervalFormatterStyle dateStyle);
|
|
58
|
+
|
|
59
|
+
CF_EXPORT CFDateIntervalFormatterStyle CFDateIntervalFormatterGetTimeStyle(CFDateIntervalFormatterRef formatter);
|
|
60
|
+
CF_EXPORT void CFDateIntervalFormatterSetTimeStyle(CFDateIntervalFormatterRef formatter, CFDateIntervalFormatterStyle timeStyle);
|
|
61
|
+
|
|
62
|
+
CF_EXPORT CFStringRef CFDateIntervalFormatterCreateStringFromDateToDate(CFDateIntervalFormatterRef formatter, CFDateRef fromDate, CFDateRef toDate);
|
|
63
|
+
CF_EXPORT CFStringRef CFDateIntervalFormatterCreateStringFromDateInterval(CFDateIntervalFormatterRef formatter, CFDateIntervalRef interval);
|
|
64
|
+
|
|
65
|
+
// SPI:
|
|
66
|
+
CF_EXPORT _CFDateIntervalFormatterBoundaryStyle _CFDateIntervalFormatterGetBoundaryStyle(CFDateIntervalFormatterRef formatter);
|
|
67
|
+
CF_EXPORT void _CFDateIntervalFormatterSetBoundaryStyle(CFDateIntervalFormatterRef formatter, _CFDateIntervalFormatterBoundaryStyle boundaryStyle);
|
|
68
|
+
|
|
69
|
+
CF_EXPORT void _CFDateIntervalFormatterInitializeFromCoderValues(CFDateIntervalFormatterRef formatter,
|
|
70
|
+
int64_t dateStyle,
|
|
71
|
+
int64_t timeStyle,
|
|
72
|
+
CFStringRef _Nullable dateTemplate,
|
|
73
|
+
CFStringRef _Nullable dateTemplateFromStyles,
|
|
74
|
+
Boolean modified,
|
|
75
|
+
Boolean useTemplate,
|
|
76
|
+
CFLocaleRef _Nullable locale,
|
|
77
|
+
CFCalendarRef _Nullable calendar,
|
|
78
|
+
CFTimeZoneRef _Nullable timeZone);
|
|
79
|
+
|
|
80
|
+
CF_EXPORT void _CFDateIntervalFormatterCopyCoderValues(CFDateIntervalFormatterRef formatter,
|
|
81
|
+
int64_t *dateStyle,
|
|
82
|
+
int64_t *timeStyle,
|
|
83
|
+
CFStringRef _Nullable *_Nonnull dateTemplate,
|
|
84
|
+
CFStringRef _Nullable *_Nonnull dateTemplateFromStyles,
|
|
85
|
+
Boolean *modified,
|
|
86
|
+
Boolean *useTemplate,
|
|
87
|
+
CFLocaleRef _Nullable *_Nonnull locale,
|
|
88
|
+
CFCalendarRef _Nullable *_Nonnull calendar,
|
|
89
|
+
CFTimeZoneRef _Nullable *_Nonnull timeZone);
|
|
90
|
+
|
|
91
|
+
CF_EXTERN_C_END
|
|
92
|
+
CF_IMPLICIT_BRIDGING_DISABLED
|
|
93
|
+
CF_ASSUME_NONNULL_END
|
|
94
|
+
|
|
95
|
+
#endif /* !defined(__COREFOUNDATION_CFDATEINTERVALFORMATTER__) */
|
|
96
|
+
|