Swift Bridging: remove BridgedNode

This commit is contained in:
Erik Eckstein
2023-03-20 14:22:41 +01:00
parent a776234354
commit b4510105a6
5 changed files with 16 additions and 24 deletions

View File

@@ -88,7 +88,7 @@ public enum Ownership {
extension Value {
public var description: String {
let stdString = SILNode_debugDescription(bridgedNode)
let stdString = bridged.getDebugDescription()
return String(_cxxString: stdString)
}
@@ -120,9 +120,6 @@ extension Value {
public var bridged: BridgedValue {
BridgedValue(obj: SwiftObject(self as AnyObject))
}
var bridgedNode: BridgedNode {
BridgedNode(obj: SwiftObject(self as AnyObject))
}
}
public typealias HashableValue = ObjectIdentifier