mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This makes it possible to mark a pointer with __sized_by when the pointee type definition is not included. The wrapper function has the same interface as if the parameter were a void pointer, since the stdlib has no `OpaqueBufferPointer` type. * use swift-ide-test for checking interop signatures * add xfail test for Span + Optional combo (Optional requires Escapable)
10 lines
127 B
Plaintext
10 lines
127 B
Plaintext
module CountedByClang {
|
|
header "counted-by.h"
|
|
export *
|
|
}
|
|
module SizedByClang {
|
|
header "sized-by.h"
|
|
export *
|
|
}
|
|
|