[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Getting locals in C++
- From: Patrick Donnelly <batrick@...>
- Date: Thu, 4 Jun 2009 17:07:59 -0600
Hi Marcus,
On Thu, Jun 4, 2009 at 4:26 PM, Martin, Marcus<mamartin@ea.com> wrote:
> Can I get at the value of the above local variable from within the
> InvokeCMethod (in C code)? How would I do that?
See these functions:
http://www.lua.org/manual/5.1/manual.html#lua_getstack
http://www.lua.org/manual/5.1/manual.html#lua_getlocal
--
-Patrick Donnelly
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin