lua-users home
lua-l archive

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


> About memory management, all calls are concentrated in a 
> single point, so it is quite easy to change. Is it really a 
> good idea to go a step further and implement that through a 
> "callback" function?

I refer you to this past posting:

http://lua-users.org/lists/lua-l/2001-08/msg00070.html

Yes, I believe it is necessary to have the memory routines be callbacks
on a per lua_State (actually global_State) basis.

Josh