|
2008/12/5 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
>> But how could I get the metatable for the prototype of all functions?You can also wrap your function in a full userdata and override __call
>
> The backdoor way is to use debug.getmetatable.
and then __add (but I think __concat may be more suited to the task).