lua-users home
lua-l archive

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


On Thu, May 5, 2011 at 10:17 PM, Shmuel Zeigerman <shmuz@013net.net> wrote:
> Is it guaranteed that the default allocator and/or default UD pointer will
> never change? (It seems a silly question but I doubt such a guarantee
> exists).

I do not think it is explicitly stated, but I would think it safe to
assume that the lua_Alloc/void* pair are only changed when someone
calls lua_setallocf, and that nothing inside the Lua(JIT) core calls
lua_setallocf.