[fpc-devel] Aligned dynamic arrays
Anthony Walter
sysrpl at gmail.com
Sat Mar 30 14:42:28 CET 2019
You are not required to dereference pointers to write to them.
var
P: PPoint;
begin
P := AlignedArray[0];
P.X := 3; // can be okay
AlignedArray[0].Y := 4; // can be okay as well
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190330/5ecb2133/attachment.html>
More information about the fpc-devel
mailing list