Skip to content

swift_allocateGenericValueMetadata(________)

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

swift_allocateGenericValueMetadata(_:_:_:_:)

Allocate a GenericValueMetadata object. This is intended to be called by the metadata instantation function of a generic struct or enum.

@_silgen_name("swift_allocateGenericValueMetadata")
public func swift_allocateGenericValueMetadata(
    _ valueDescriptior: UnsafeRawPointer,
    _ arguments: UnsafeRawPointer,
    _ pattern: UnsafeRawPointer,
    _ extraDataSize: Int
) -> UnsafeRawPointer

Parameters

  • valueDescriptor: The descriptor determining how the metadata will be allocated
  • arguments:
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally