lua-users home
lua-l archive

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


El mié, 22-09-2004 a las 11:48, Ariel Manzur escribió:
Hi.

Take a look at the code generated by tolua, you can use
'tolua_pushusertype', or 'tolua_pushusertype_and_takeownership' for values
owned by the luastate.. You can use those to push values for functions, or
use with setglobal or something.
Thanks a lot, that solved the problem. Now i can read/write my class members in lua scripts.

Ollen Roy, linarian bounty hunter (level 10). Never use Windows for a Unix work.