lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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