[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: Francisco Olarte <folarte@...>
- Date: Tue, 3 Aug 2021 18:08:55 +0200
On Tue, Aug 3, 2021 at 5:09 PM aman agrawal <email@example.com> wrote:
> Can you please tell me how can I get the index of the returned value. I checked the value of fTransfer and nTransfer fields, and value of these fields are very large.
> top : 24
> Checking top element value : 255
> ftransfer index : 57552
> ntransfer index : 65535
Docs does not say they are not stack indexes, but that you use get/set
local to access them through the activation record:
Are you using the docs or going directly to the headers defining them?