[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: memory allocation
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 27 Jul 2000 17:40:48 -0300 (EST)
>From lua-l@tecgraf.puc-rio.br Fri Jul 21 18:46:54 2000
>From: Jim Mathies <Jim@mathies.com>
>
>I have a question about the memory allocation in
>lmem.c. Is it acceptable to replace malloc, realloc
>and free with custom handlers? Also, if the custom
>handlers include features like debug byte padding
>surrounding allocated blocks, will Lua handle this
>ok?
If your replacements satisfy the ANSI semantics, there should be no problems.
--lhf