lua-users home
lua-l archive

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

> > What I want to do is add a "local" variable in C, for a lua script
> access.
> You can send those declarations before loading the script: use a
> lua_Reader.

lua_Readers? (*shudder*), fortunately I've avoided the need to use those
so far - the docs confused me no end! :)
The problem is that the values I set can only be retrieved from my c
code.  The example I used was a really trivial one, the actual values
will generally be "lunar" wrapped c++ class instance user data (although
not exclusively).