lua-users home
lua-l archive

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


>         luaobj = {}
>         luaobj.__resource = rawConnectInC(name)
>         setmetatable(luaobj, {__gc = destroyResource}

Do __gc methods actually work for tables these days?  Last time I tried I
couldn't get it to... seemed like a fairly serious problem.

Love, Light and Peace,
- Peter Loveday
Director of Development, eyeon Software