lua-users home
lua-l archive

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


Terence Martin wrote:
> 
> That won't work so good, because lua_open needs to allocate memory. It
> would probably be quite catastrophic if some things were allocated
> with malloc and some were allocated using your custom routines/

Yes, I realised that too after reading what other people said.
Now, my preference would go out to a dual lua_open and
lua_opencallbacks. 
That way, nothing changes for those who want the default memory
handlers.

-- 
"No one knows true heroes, for they speak not of their greatness." -- 
Daniel Remar.
Björn De Meyer 
bjorn.demeyer@pandora.be