[fpc-pascal] PtrInt - possible candidate to be marked as deprecated

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 18 16:01:46 CET 2015


On Wed, 18 Mar 2015 14:53:50 +0000
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

> Based on what the documentation says "introduction of ptrint type was a
> mistake", shouldn't the PtrInt type be marked as deprecated in FPC 3.0.0
> and removed in a later release like 3.0.2 or 3.2.0?
> 
> http://www.freepascal.org/docs-html/rtl/system/ptrint.html

PtrInt is sometimes used in this case:

TList stores arbitrary Pointers. To store an arbitrary integer you cast
it with PtrInt.
Is there an integer list?

Mattias



More information about the fpc-pascal mailing list