lua-users home
lua-l archive

Re: Basic question about using tolua

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


Oh how embarassing! I didn't even realise what I was doing. I have a test
program working that creates and uses objects instantiated from different
classes, even sub-classes. It was so easy thanks to Lua and ToLua; awesome programs!
Thanks
Mike
Quoting Waldemar Celes <celes@inf.puc-rio.br>:
> 
> >
> >tolua -o baseObject_lua.C -H baseObject_lua.hxx baseObject.pkg
> 
> you should call the output baseObject_lua.cpp, otherwise VC6 compiles
> it as a C program, not C++.
> 
> -- waldemar

AltStyle によって変換されたページ (->オリジナル) /