RE: Event handling implementation
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: RE: Event handling implementation
- From: John Dunn <John_Dunn@...>
- Date: 2007年11月16日 13:17:39 -0800
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.