File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -4377,6 +4377,13 @@ void swift_getFieldAt(
4377
4377
void verifyMangledNameRoundtrip (const Metadata *metadata);
4378
4378
#endif
4379
4379
4380
+ #if !SWIFT_OBJC_INTEROP
4381
+
4382
+ SWIFT_CC (swift) SWIFT_RUNTIME_STDLIB_API
4383
+ const TypeContextDescriptor *swift_getTypeContextDescriptor(const Metadata *type);
4384
+
4385
+ #endif // !SWIFT_OBJC_INTEROP
4386
+
4380
4387
} // end namespace swift
4381
4388
4382
4389
#pragma clang diagnostic pop
Original file line number Diff line number Diff line change @@ -3940,3 +3940,11 @@ void swift::verifyMangledNameRoundtrip(const Metadata *metadata) {
3940
3940
metadata, mangledName.c_str (), (const Metadata *)result);
3941
3941
}
3942
3942
#endif
3943
+
3944
+ #if !SWIFT_OBJC_INTEROP
3945
+
3946
+ const TypeContextDescriptor *swift::swift_getTypeContextDescriptor (const Metadata *type) {
3947
+ return type->getTypeContextDescriptor ();
3948
+ }
3949
+
3950
+ #endif // !SWIFT_OBJC_INTEROP
You can’t perform that action at this time.
0 commit comments