[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: First post: Hierarchal Data storage...
- From: "Ashwin Hirschi" <deery@...>
- Date: Fri, 26 Sep 2003 04:32:21 +0200
> Is it possible to store off the current 'table address' held in the
> stack, so I can quickly push it back later?
You can use:
- lua_ref to get an int reference to your table
- lua_getref to push your ref'd table back on the stack, and
- lua_unref to release the reference
This'll work in both Lua 4 and 5.
Ashwin.