lua-users home
lua-l archive

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


I have looked at this for a while, and I can't see a way to get rid of the GC method without deleting it from the original metatable, which means that all files have to be closed manually. Grr. Any other solutions? (Reminder: the problem I'm trying to solve is allowing FILE *s to be passed into Lua as normal Lua file handles without being garbage collected when the lua_State shuts down.)

--
http://rrt.sc3d.org/