FPC Internals/Parameters

From Free Pascal wiki
Revision as of 14:56, 15 October 2019 by Skalogryz (talk | contribs) (Created page with "FPC is using the CPU target specified parameter manager to manage the location of parameters passed into and routines. CPU target should implement parameter manager in '''cp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

FPC is using the CPU target specified parameter manager to manage the location of parameters passed into and routines.


CPU target should implement parameter manager in cpupara.pas unit.

The unit should initialize the global ParamManager variable if an instance of the CPU specific class.

ParaManager:=tcpuparamanager.create

The basic TParaManager class cannot and should not be created, as it contain the abstract methods that should be implemented by CPU target implementation class.