lua-users home
lua-l archive

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

Hello all,
I am trying to tie in to the garbage collection system.  My (current) question is this: when my "gc" function is called, how do I know what memory is being freed?  I would like to tie in so that I can delete the memory on my side that Lua is not using any more, but I don't know what that memory is?  How do I, with only the lua_State pointer, find out what memory is being collected?
Jens Wessling