lua-users home
lua-l archive

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

In message <>, Groleo Marius <> writes
Is it possible to access a lua varibale from C code?
Any links/tutorials/code on this?

What about Section IV "The C API" of Programming in Lua by Roberto Ierusalimschy?

When writing Lua Bug Validator we did some stuff just to get the values of variables from the local debug context. We got all the info we needed from Roberto's excellent book (*) and by looking at the Lua source code.

* Purchased from Amazon - took a long time to arrive compared to most books.
Stephen Kellett
Object Media Limited
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting