mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Runtime][Stdlib][Overlays] Rename various Objective-C classes and methods that would conflict when loading old Swift libraries into a process alongside ABI-stable libraries.
rdar://problem/35768222
This commit is contained in:
@@ -151,8 +151,8 @@ void _swift_makeAnyHashableUpcastingToHashableBaseType(
|
||||
#if SWIFT_OBJC_INTEROP
|
||||
id srcObject;
|
||||
memcpy(&srcObject, value, sizeof(id));
|
||||
// Do we have a _SwiftValue?
|
||||
if (_SwiftValue *srcSwiftValue = getAsSwiftValue(srcObject)) {
|
||||
// Do we have a __SwiftValue?
|
||||
if (__SwiftValue *srcSwiftValue = getAsSwiftValue(srcObject)) {
|
||||
// If so, extract the boxed value and try to cast it.
|
||||
const Metadata *unboxedType;
|
||||
const OpaqueValue *unboxedValue;
|
||||
|
||||
Reference in New Issue
Block a user