summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-02 13:58:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-09-02 13:58:35 (GMT)
commitea1e57169ccde2d9eab9c903bbd9e887080fc667 (patch)
treed91ac14eba08758c64e9d0ff0de995b4a59f04f6
parente1c58e0bfaa6c72293a5f7e3c44977faab596683 (diff)
parent61b6d52ad01dec76f8b798f1c52a5c03cf9e45d8 (diff)
downloadCMake-ea1e57169ccde2d9eab9c903bbd9e887080fc667.zip
CMake-ea1e57169ccde2d9eab9c903bbd9e887080fc667.tar.gz
CMake-ea1e57169ccde2d9eab9c903bbd9e887080fc667.tar.bz2
Merge topic 'swift2-compatibility'
61b6d52a Swift: Use dump instead of println
-rw-r--r--Tests/SwiftMix/SwiftMain.swift4
-rw-r--r--Tests/SwiftOnly/main.swift2
2 files changed, 3 insertions, 3 deletions
diff --git a/Tests/SwiftMix/SwiftMain.swift b/Tests/SwiftMix/SwiftMain.swift
index 9af9883..7e7c4ab 100644
--- a/Tests/SwiftMix/SwiftMain.swift
+++ b/Tests/SwiftMix/SwiftMain.swift
@@ -1,9 +1,9 @@
@objc class SwiftMainClass {
class func SwiftMain(argc:Int, argv:UnsafePointer<UnsafePointer<CChar>>) -> Int32 {
- println("argc: \(argc)")
+ dump("argc: \(argc)")
for (var i = 0; i < argc; ++i) {
var argi = String.fromCString(argv[i])
- println("arg[\(i)]: \(argi)");
+ dump("arg[\(i)]: \(argi)");
}
return 0;
}
diff --git a/Tests/SwiftOnly/main.swift b/Tests/SwiftOnly/main.swift
index 67be986..28560d0 100644
--- a/Tests/SwiftOnly/main.swift
+++ b/Tests/SwiftOnly/main.swift
@@ -1 +1 @@
-println("SwiftOnly")
+dump("SwiftOnly")