|
Thanks a lot, that solved the problem. Now i can read/write my class members in lua scripts.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.
Ollen Roy, linarian bounty hunter (level 10). Never use Windows for a Unix work. |