lua-users home
lua-l archive

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

I would like to pair LUA_GCSTOP/LUA_GCRESTART invocations in a nested
fashion (or at least, I want to call it from a library where I don't
know if the garbage collector has already been stopped).  There
doesn't seem to be any way to restore the previous state after calling
lua_gc(LUA_GCSTOP), unfortunately.