lua-users home
lua-l archive

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


Please explain a very basic of how to use c++ objects from lua .. I use
lua without c++ objects but would like 
To put some of my code out in lua scripts, thus using c++ objects in
lua.

Any links to a simple tutorial ?

Want todo something like this:
---

Player *pPlayer = new Player;

pPlayer->setName('myname');
Map.Players->add(pPlayer);

----

Can you give me any hints or usefull c++/lua newbie resources?