Mattias Gaertner wrote on Wed, 18 Mar 2015:
On Wed, 18 Mar 2015 14:53:50 +0000
Graeme Geldenhuys <mailingli...@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.
Or PtrUInt. The remark in the docs (which I didn't add, for the
record) is specifically about the signed variant.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal