[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Different number of arguments in Lua stack in set hook function in Lua 5..4 vs Lua 5.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 4 Aug 2021 09:46:53 -0300
> Yes, calling lua_getinfo like this:
>
> lua_getinfo(L, "nSltu", ar);
To get ftransfer and ntransfer, you need an 'r' in the "what" string.
I am afraid the manual is not clear about that.
-- Roberto