Unit 'TypInfo' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#rtl]

DerefTypeInfoPtr

Dereference type info pointer

Declaration

Source position: typinfo.pp line 1023

function DerefTypeInfoPtr(

  Info: PPTypeInfo

):PTypeInfo;

Description

DerefTypeInfoPtr can be used to dereference the Info type info pointer if need be: in FPC version 3.0, this pointer does not need dereferencing, but in FPC version 3.1, the pointer must be dereferenced. This is useful for code that must work in version 3.0 and later.

Errors

The function handles nil values well.

See also

PTypeInfo

  

Pointer to TTypeInfo record


Documentation generated on: Sep 29 2022