lua-users home
lua-l archive

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

>From  Fri Jul 21 18:46:54 2000
>From: Jim Mathies <>
>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

If your replacements satisfy the ANSI semantics, there should be no problems.