[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: __call?
- From: Edgar Toernig <froese@...>
- Date: Wed, 17 Dec 2003 19:40:39 +0100
Gustavo Niemeyer wrote:
>
> > Unfortunately, whether changing lua_isfunction is a "good" thing is
> > not 100% straight forward. At least one reason for this is that
> > (AFAIK) Lua types are static, which is to say that a value cannot have
>
> IMO, changing lua_isfunction is a bad thing. The right way to fix that
> would be to introduce "lua_iscallable", or "lua_tofunction", or
> something similar.
Deja vu... See
http://lua-users.org/lists/lua-l/2001-11/msg00399.html
and the Follow-Ups...
Ciao, ET.