[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua Stack from C
- From: "Brian Weed" <bw@...>
- Date: Mon, 07 Aug 2006 13:49:15 -0400
Is there docs somewhere that shows what each lua C function does to the
stack.
What I am looking for is something like this:
function: stack
------------------------------
lua_pushstring +1
lua_pushnumber +1
lua_settable -2
etc...
Most of these are obvious, but some are not obvious, and I was hoping
that someone else has already done this...
Or should I just blindly surround my code with gettop/settop to make
sure I don't leave anything on the stack?
Brian