mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Runtime/Metadata] Add support for dynamic field descriptor registration
This commit is contained in:
@@ -1198,6 +1198,11 @@ FUNCTION(RegisterTypeMetadataRecords,
|
||||
RETURNS(VoidTy),
|
||||
ARGS(TypeMetadataRecordPtrTy, TypeMetadataRecordPtrTy),
|
||||
ATTRS(NoUnwind))
|
||||
FUNCTION(RegisterFieldDescriptors,
|
||||
swift_registerFieldDescriptors, DefaultCC,
|
||||
RETURNS(VoidTy),
|
||||
ARGS(FieldDescriptorPtrPtrTy, SizeTy),
|
||||
ATTRS(NoUnwind))
|
||||
|
||||
// void swift_beginAccess(void *pointer, ValueBuffer *scratch, size_t flags);
|
||||
FUNCTION(BeginAccess, swift_beginAccess, C_CC,
|
||||
|
||||
Reference in New Issue
Block a user