|
> It would be nice for some debugging type tasks if it was possible, > using either the C or Lua Debug API, to get the arity of a function, > that is its Proto's numparams and is_vararg field. Check my bytecode inspector library at http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.1/lbci.tar.gz