[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Different number of arguments in Lua stack in set hook function in Lua 5..4 vs Lua 5.2
- From: aman agrawal <aman.161089@...>
- Date: Thu, 5 Aug 2021 00:55:38 +0530
This worked. Thanks a lot for your help.
> 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.