Skip to content

swift_deallocUninitializedObject(______)

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

swift_deallocUninitializedObject(_:_:_:)

Deallocate an uninitialized object with a strong reference count of +1.

@_silgen_name("swift_deallocUninitializedObject")
public func swift_deallocUninitializedObject(
    _ heapObject: UnsafeRawPointer,
    _ allocatedSize: Int,
    _ allignMask: Int
)

It must have been returned by swift_allocObject, but otherwise the object is in an unknown state.

Parameters

  • heapObject: Never nil.
  • allocatedSize: The allocated size of the object from the. program's perspective, i.e. the value.
  • alignMask: The alignment requirement passed to `swift_allocObject.
Types
Protocols
Global Typealiases
Global Functions
Clone this wiki locally