FinalizeArray

Finalize managed-type elements in array

Declaration

Source position: rttih.inc line 42

  procedure FinalizeArray(p: Pointer; typeInfo: Pointer; count: SizeInt);

Description

FinalizeArray dereferences and clears managed types in the array pointed to by p. For this, it uses the type information of the elements as specified in typeinfo.

Under normal circumstances, this procedure should not be used, it is called automatically by the compiler when an array-typed variable containing managed types goes out of scope.

See also

Name Description
CopyArray Copy managed-type elements in array
DynArrayBounds Return the bounds of the dynamic array
DynArrayClear Clears a dynamic array
DynArrayDim Return the number of dimensions in a dynamic array
DynArraySize Return length of dynamic array
InitializeArray Initialize managed-type elements in array