mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When generating a C++ header for a Swift module, we wrap declarations that require Objective-C++ in `#if defined(__OBJC__)` blocks, to make the headers usable with Obj-C interop disabled. This logic wasn't being applied to Swift methods and initializers that take an Objective-C class. rdar://164465358
5 lines
56 B
Plaintext
5 lines
56 B
Plaintext
module ObjCTypes {
|
|
header "objc-types.h"
|
|
export *
|
|
}
|