Re: luaL_argcheck doesn't know function name if debug.traceback isn't used?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: luaL_argcheck doesn't know function name if debug.traceback isn't used?
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2012年8月24日 10:42:26 -0300
> [...] In the second example you do a simple call
> generated by the compiler, which can pass along extra naming
> information (I don't know exactly how that is done).
If there is an error, the internal debugger inspects the code that
made the call and extracts the name from there.
-- Roberto