|
Rici Lake wrote:
On 5-Dec-06, at 6:37 PM, Shmuel Zeigerman wrote:C provides SetEvent function, and Lua registers only *one* event handler. C calls that handler passing event name (a string) and any number of parameters.Or you could just register the handler table, which would also work nicely with the Lua 5.1 module system.
Yes, but what extra functionality/flexibility would that achieve? Could you give a simple example? -- Shmuel