mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
e56e0f653b
...and give them a proper "REQUIRES: objc_interop" instead of "XFAIL: linux".
15 lines
286 B
Swift
15 lines
286 B
Swift
@_exported import ProtoWithInitializer
|
|
@_exported import TypeAndValue
|
|
|
|
public class Impl : InitProto {
|
|
@objc public required init(int i: CInt) {}
|
|
|
|
public func takeStruct(input: testStruct) {
|
|
testStruct(input)
|
|
}
|
|
|
|
public func getEnum() -> testEnum {
|
|
return testEnum
|
|
}
|
|
}
|