mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
s/LogicValueType/BooleanType/
We're moving toward using that protocol for straight-up Bool types Swift SVN r19884
This commit is contained in:
@@ -22,7 +22,7 @@ import ObjectiveC
|
||||
/// On 64-bit iOS, the Objective-C BOOL type is a typedef of C/C++
|
||||
/// bool. Elsewhere, it is "signed char". The Clang importer imports it as
|
||||
/// ObjCBool.
|
||||
public struct ObjCBool : LogicValueType, BooleanLiteralConvertible {
|
||||
public struct ObjCBool : BooleanType, BooleanLiteralConvertible {
|
||||
#if os(OSX) || (os(iOS) && (arch(i386) || arch(arm)))
|
||||
// On OS X and 32-bit iOS, Objective-C's BOOL type is a "signed char".
|
||||
var value: Int8
|
||||
|
||||
Reference in New Issue
Block a user