mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
66b5fdc03d
Adds support for making pointers to C structs always import as OpaquePointer through API notes. This is needed to bring down the Android SDK to API level 23, since FILE is imported differently on API 23 vs 24.
33 lines
559 B
Plaintext
33 lines
559 B
Plaintext
module StructDeclContext {
|
|
header "struct-decl-context.h"
|
|
export *
|
|
}
|
|
|
|
module ForeignReference {
|
|
header "foreign-reference.h"
|
|
}
|
|
|
|
module ForeignReferenceInvalid {
|
|
header "foreign-reference-invalid.h"
|
|
}
|
|
|
|
module StructAsOptionSet {
|
|
header "struct-as-option-set.h"
|
|
}
|
|
|
|
module NoncopyableStructs {
|
|
header "noncopyable-struct.h"
|
|
}
|
|
|
|
module ReturnForeignReference {
|
|
header "return-foreign-reference.h"
|
|
}
|
|
|
|
module OpaquePointerImport {
|
|
header "opaque-pointer-import.h"
|
|
}
|
|
|
|
module OpaquePointerImportAPINotes {
|
|
header "opaque-pointer-import-apinotes.h"
|
|
}
|