lua-users home
lua-l archive

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


Hi,

I am trying to understand some of the invariants for CallInfo and
Proto structures for Lua functions.
In particular:

The 'top' field in CallInfo. Is this always 'base' +
'Proto.maxstacksize'  ? Is this fixed at the time of the function
entry or can the 'top' change during execution?

The 'maxstacksize' in Proto - is this fixed when the function is
compiled or can it change over time? What does it take into account?

Thanks and Regards

Dibyendu