Hi,
Rene W. Olsen wrote:
But I not really sure this is ok, what happens if reallocvec() need to alloc a new block and move the memory? how do I get the new mem pointer?
Exec's ReallocVec does not move memory, it will resize in place if there is enough room, otherwise it will fail.
Regards,