[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Hooks for I/O, memory, etc?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 11 Jun 2002 10:17:55 -0300
Lua already uses luaM_realloc for all its memory allocation.
You can build Lua to use a different function by #defining l_realloc.
But you can also provide your own luaM_realloc function and the linker will
use your version instead of Lua's. Isn't that flexible enough? Does it work