lua-users home
lua-l archive

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


On Sat, 15 Oct 2005 18:14:10 +0200
Mike Pall <mikelu-0510@mike.de> wrote:

>    }
> -  else {  /* is a function */
> +  case LUA_TFUNCTION: {
>      int n;

This condition should be a check on callability, not type; otherwise,
you break tables/userdata that use __call to do something special.

-Eric