[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How do you deal with event functions?
- From: Jose Marin <jose_marin2@...>
- Date: Tue, 5 Dec 2006 12:22:45 +0000 (GMT)
By design, all the functions used as event handlers
must be global and named.
> My $0.02: The pro of #2 would be that there's less
> fiddling around to
> do in C, since you can store the name of the
> function in a regular
> *char. The biggest - and I think unacceptable - con
> of #2 would be that
> this will not work with anonymous functions, local
> functions or anything
> which is not in _G.
>
_______________________________________________________
O Yahoo! está de cara nova. Venha conferir!
http://br.yahoo.com