Sign in Join
FPDoc Onlineexperiment

TLazListAspectMemInitManagedRefCnt.FinalizeMem procedure

Member of TLazListAspectMemInitManagedRefCntpublicIn unit LazListClasses

Declaration

pascal
class procedure FinalizeMem(const AMem: Pointer; 
 const AnItemCount: Integer; 
 const AnItemSize: Cardinal); static

Description

Not described here; this is what TLazListAspectMemInitNone.FinalizeMem says of it:

Finalizes memory; e.g. decreases reference count.

Used:

  • Before DeleteRows.
  • Before Move for Target area, finalize old data.
  • NOT in Item[x] := / "Item[x]" uses a typed assignment of the data.
  • No need to actually init/clean the underlaying memory.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.