lua-users home
lua-l archive

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

Jerome Vuarand wrote:
> Just check if there's one in the add_handler, and if not create one. 

What's the best way to check to see if a table has been attached? It doesn't
look like checking for nil works - it looks like calling getfenv returns a
shared table if you haven't manually assigned one.