lua-users home
lua-l archive

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

Title: Message
Why is it that in a call hook calling lua_getinfo(l, "lnuS", ar) will sometimes generate an error complaining that "value for `lua_getinfo' is not a function"? Shouldn't by definition the ar I get in a call hook be a function? Or to rephrase the problem, how can I get as much information in a call hook as possible in a generic way without running the risk of generating an error?