System.FinalizeArray

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

extern DELPHI_PACKAGE void __fastcall FinalizeArray(void * P, void * TypeInfo, 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