lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 2008-05-02 at 12:31 +0300, Bogdan Marinescu wrote:
> Thanks for your advice. I don't need to save the block size, Lua calls
> its allocator function with both the old size and the new size of the
> block. Free bookkeeping for me.

Umm... Isn't that the size that Lua thinks it is?  So you need to still
keep the real size of the allocation correct?

	Regards,
	nash