lua-users home
lua-l archive

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


http://whoopdedo.org/doku/lua/index

A finalization method that doesn't rely on setfenv. So it works in Lua 5.2 and can now be used in coroutines as well. This can also be implemented in C using a closure with the finalizer stack as an upvalue. No patches are necessary in either case.

--
- tom
telliamed@whoopdedo.org