[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Hooks for I/O, memory, etc?
- From: Björn De Meyer <bjorn.demeyer@...>
- Date: Wed, 12 Jun 2002 00:21:23 +0200
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