mirror of
https://github.com/apple/swift.git
synced 2026-01-17 12:17:35 +01:00
At some point I want to propose a revised model for exports, but for now just mark that support for '@exported' is still experimental and subject to change. (Thanks, Max.)
17 lines
305 B
Swift
17 lines
305 B
Swift
import Foundation
|
|
|
|
@_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
|
|
}
|
|
}
|