[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Proper Stack Cleaning
- From: "Matthew Harmon" <matt@...>
- Date: Mon, 13 Sep 2004 09:09:59 -0500
Great, thanks so much. I got so worried about this that I have a debug
display in my game that lists every state and it's current stack situation!
>>I wrote the following macros which I use in most functions that call Lua.
They've proved very useful and have caught quite a few stack "leaks" as well
as drawing my attention to the way that the lua_xxlibopen() functions leave
a value on the stack.<<