Skip to content

swift_allocateGenericClassMetadata(______)

0x41c edited this page Feb 28, 2022 · 1 revision

swift_allocateGenericClassMetadata(_:_:_:)

Allocates a ClassMetadata and returns the new memory.

@_silgen_name("swift_allocateGenericClassMetadata")
public func swift_allocateGenericClassMetadata(
    _ classDescriptor: UnsafeRawPointer,
    _ arguments: UnsafeRawPointer,
    _ pattern: UnsafeRawPointer
) -> UnsafeRawPointer

This memory is uninitialized, further work is needed to have this properly behave as a type.

Parameters

  • classDescriptor: The object describing the characteristics of the class metadata.
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally