lua-users home
lua-l archive

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


> From: Brian Hook [mailto:public@pyrogon.com]
> 
> Is there a trivial way to let Lua manage its own heap 
> by passing in a predefined heap at initialization time?

No, but it seems to do all its memory management through the functions in
src/lmem.c, so it should be easy to patch. (I hope so, because I'm going to
have to do this as well :)

Looks like src/lib/liolib.c will need patching too.

-- Mat.