lua-users home
lua-l archive

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


>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