lua-users home
lua-l archive

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


Roger D. Vargas wrote:
A couple of questions about this, can I access/modify even protected/private members?

Yes.

Here is a example using a revised version of Luna with the whole nine yards.

http://lua-users.org/wiki/CallingLuaFromCpp

You can set/get whatever members you want, but you need to write a C++ get/set memthod for each one. This isn't too bad because they are usually just one line.

- Peter Shook