lua-users home
lua-l archive

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


Hi,

I am using  lua  that way, and  it is  fairly  easy  to  code.  For  a
Lua_LinkVar routine, you need to store the  address of the variable as
userdata and  use  setglobal/getglobal tag methods  to  write  to that
address. These need type information, perhaps  you can store that in a
table. E.g.   for a  global variable  x, typeinfo.x  would contain the
type information. Please ask if you need to know more.

Juergen