System.FinalizeArray

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FinalizeArray(P, TypeInfo: Pointer; Count: NativeUInt);

C++

extern DELPHI_PACKAGE void __fastcall FinalizeArray(void * P, void * TypeInfo, System::NativeUInt Count);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Compiler helper for array finalization.

Finalization means cleanup operations. For example: reference counters are decremented, memory is freed.

The parameters of FinalizeArray are:

P Pointer to the first element of the array.
TypeInfo Type information for the array elements. This is a pointer to a TTypeInfo variable.


Valid type kinds:

  • tkLString
  • tkWString
  • tkUString
  • tkVariant
  • tkArray
  • tkRecord
  • tkInterface
  • tkDynArray
Count Number of array elements.

See Also