lua-users home
lua-l archive

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


Hey,

I was wondering whether or not it's OK to pop out from the stack the arguments given to a native C function from Lua code. I am asking because users might send a lot of arguments to the C function (using unpack for example) and acquire all the room on the stack (which is set by default to 8K), leaving no place to push replies or perform other operations that require the stack. 

I am using Lua 5.1.5 (if it makes any difference).

Thanks.


Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.