lua-users home
lua-l archive

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


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.