stdlib: add first argument labels and some other changes to conform to API guidelines

This commit is contained in:
Dmitri Gribenko
2016-02-12 16:59:15 -08:00
parent a558d13a3b
commit efaa39ea79
132 changed files with 1653 additions and 1592 deletions

View File

@@ -20,7 +20,7 @@ var StringTestSuite = TestSuite("String")
extension String {
var bufferID: UInt {
return unsafeBitCast(_core._owner, UInt.self)
return unsafeBitCast(_core._owner, to: UInt.self)
}
var capacityInBytes: Int {
return _core.nativeBuffer!.capacity