Name

PackageUnitEntry Type

Syntax

type
  PackageUnitEntry = packed record
    Init, FInit: procedure;
  end;

Description

The PackageUnitEntry record holds a pointer to the code for the initialization and finalization sections of a unit. Delphi automatically creates this record for each unit, and every application, library, and package keeps a table of all of its units’ records.

Delphi takes care of units automatically. You rarely need to use the unit information directly.

See Also

Finalization Keyword, GetPackageInfoTable Type, Initialization Keyword, PackageInfoTable Type, PUnitEntryTable Type, Unit Keyword, UnitEntryTable Type

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.