[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Stack politeness
- From: benjamin sunshine-hill <bsunshin@...>
- Date: Tue, 23 Jul 2002 16:17:24 -0600
When making C functions to expose to Lua, what guidelines should the
function adhere to in terms of the state of the stack upon return? Of
course, the return values need to be at the top, and equal to the integral
return value of the function, but what about arguments to the function?
Must they be removed? preserved? does Lua not care?