In our previous episode, Jonas Maebe said:
> > Or do we have to allocate more bytes for blocks that are a multiple of 8?
> 
> FPC's default memory manager even guarantees 16 byte alignment (for vectors).

So a possible solution is to allocate 16-sizeof(ptruint) bytes more?

for 32-bit that would mean:

<12 bytes slack><size><data>

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to