Skip to content

ResilientClassMetadataPattern

tevelee edited this page Jul 25, 2026 · 1 revision

ResilientClassMetadataPattern

The allocation pattern used by a non-generic class with resilient ancestry.

public struct ResilientClassMetadataPattern: LayoutWrapper 

Inheritance

LayoutWrapper

Properties

relocationFunction

The runtime-private allocation entry point, if the runtime should not use its built-in class metadata relocator. It is exposed for inspection only.

public var relocationFunction: UnsafeRawPointer? 

destroyFunction

The runtime-private heap-destroyer entry point. It is exposed for inspection only and must not be invoked by clients.

public var destroyFunction: UnsafeRawPointer? 

ivarDestroyer

The runtime-private instance-variable destroyer entry point, if one was emitted. It is exposed for inspection only and must not be invoked by clients.

public var ivarDestroyer: UnsafeRawPointer? 

flags

Class flags applied to metadata allocated from this pattern.

public var flags: ClassMetadata.Flags 

data

The Objective-C class RO-data record, if one is present on this runtime.

public var data: UnsafeRawPointer? 

metaclass

The Objective-C metaclass record, if one is present on this runtime.

public var metaclass: UnsafeRawPointer? 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally