lua-users home
lua-l archive

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


Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> >From: Steve Dekorte <steve@dekorte.com>
> 
> >Did the funcinfo(function) function disapear with Lua 4.0?
> >Is there an equivialent?
> 
> In C, lua_funcinfo has been replaced by the more powerful lua_getinfo.
> In Lua, funcinfo has been replaced by the more general getstack.

But how do I get info on a function that is not on the stack 
from within lua?

Steve