Files
Chris Adamson d0d078517a Update stdlib DocC curation for 6.4 symbols. (#92405)
This PR updates files in the `stdlib.docc` directory to provide curation
for symbols added to the standard library in release 6.4, including task
cancellation shields and refs.

The [stdlib documentation on
docs.swift.org](https://docs.swift.org/latest/documentation/swift) uses
these files to organize the online documentation into topics.

This PR doesn't affect any compilable source. It's only for the use of
the `docc` compiler to produce documentation, either in swift.org's CI
or if someone wants to generate a local copy.

rdar://181594680
2026-10-01 14:21:26 -07:00

1.1 KiB

C Interoperability

Use imported C types or call C variadic functions.

Topics

C Pointers

  • Swift/OpaquePointer
  • Swift/AutoreleasingUnsafeMutablePointer

C Variadic Functions

  • Swift/withVaList(_:_:)
  • Swift/CVaListPointer
  • Swift/CVarArg
  • Swift/getVaList(_:)

Pointers to Values

Access a pointer to a variable in memory for explicit passing to C functions.

  • Swift/withUnsafePointer(to:_:)-9fjn6
  • Swift/withUnsafePointer(to:_:)-35wrn
  • Swift/withUnsafeMutablePointer(to:_:)
  • Swift/withUnsafeBytes(of:_:)-3ywhh
  • Swift/withUnsafeBytes(of:_:)-5gesg
  • Swift/withUnsafeMutableBytes(of:_:)

Aliases for Imported C Types

  • Swift/CBool
  • Swift/CChar
  • Swift/CChar8
  • Swift/CChar16
  • Swift/CChar32
  • Swift/CDouble
  • Swift/CLongDouble
  • Swift/CFloat
  • Swift/CFloat16
  • Swift/CInt
  • Swift/CLong
  • Swift/CLongLong
  • Swift/CShort
  • Swift/CSignedChar
  • Swift/CUnsignedChar
  • Swift/CUnsignedInt
  • Swift/CUnsignedLong
  • Swift/CUnsignedLongLong
  • Swift/CUnsignedShort
  • Swift/CWideChar