diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2019-05-01 11:24:34 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2019-05-01 11:30:14 (GMT) |
commit | b7b66919a3952a3a2c31d659fcbe3bebf7e5887e (patch) | |
tree | bcf0a5091190eeb9e24518a10bdb2129cdee5282 /Tests/SwiftMix/SwiftMain.swift | |
parent | cab5471a7ba0f45273f293104f5d00d1af8284ac (diff) | |
download | CMake-b7b66919a3952a3a2c31d659fcbe3bebf7e5887e.zip CMake-b7b66919a3952a3a2c31d659fcbe3bebf7e5887e.tar.gz CMake-b7b66919a3952a3a2c31d659fcbe3bebf7e5887e.tar.bz2 |
SwiftMix: properly export SwiftMain method
Diffstat (limited to 'Tests/SwiftMix/SwiftMain.swift')
-rw-r--r-- | Tests/SwiftMix/SwiftMain.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/SwiftMix/SwiftMain.swift b/Tests/SwiftMix/SwiftMain.swift index a4a0a62..d9c8cd7 100644 --- a/Tests/SwiftMix/SwiftMain.swift +++ b/Tests/SwiftMix/SwiftMain.swift @@ -1,7 +1,7 @@ import Foundation @objc class SwiftMainClass : NSObject { - class func SwiftMain() -> Int32 { + @objc class func SwiftMain() -> Int32 { dump("Hello World!"); return 0; } |