|
>Is there any way to determine how many arguments an arbitrary function >expects? No, although we do have this information (luac -l prints it). Perhaps it should be added to the debug API. (Of course, I mean this for Lua functions. C functions are always vararg.) (continue) --lhf