Skip to content

TProcedureSignature

Procedure signature description record.

Declaration

Source position: typinfo.pp line 359

type
  TProcedureSignature = packed record
    property ResultType: PTypeInfo; {r}
    Flags: Byte;
    CC: TCallConv = (ccReg,ccCdecl,ccPascal,ccStdCall,ccSafeCall,ccCppdecl,
             ccFar16,ccOldFPCCall,ccInternProc,ccSysCall,ccSoftFloat,
             ccMWPascal);
    ResultTypeRef: PPTypeInfo = ^PTypeInfo;
    ParamCount: Byte;
    function GetParam : PProcedureParam;
  end;

Description

TProcedureSignature describes a procedure/method call signature. It consists of some flags (Flags), a calling convention (CC), the result type (ResultType) if any, and a list of ParamCount parameters (of type TProcedureParam).

See also

Name Description
TProcedureParam Procedure parameter description.
TCallConv Calling convention enumerator.