[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: Arity of functions
From:       Luiz Henrique de Figueiredo <lhf () tecgraf ! puc-rio ! br>
Date:       2006-08-31 11:16:47
Message-ID: 20060831081647.A27933 () lua ! tecgraf ! puc-rio ! br
[Download RAW message or body]

> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic