lua-users home
lua-l archive

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

Yes, calling lua_getinfo like this:

lua_getinfo(L, "nSltu", ar);

On Wed, Aug 4, 2021 at 1:45 AM Roberto Ierusalimschy <> 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

Are you calling lua_getinfo with the appropriate 'what' argument
to fill these fields?

-- Roberto

Best Regards
Aman Agrawal