Original Post
Well, I finally got LUA working, but it''s version 4.01. It can still do classes though by the following example:
http://lua-users.org/wiki/SimpleCppBinding
This is great that I can make C++ classes and use them in LUA, but how can I do the following:
Make an instance of a C++ class in C++
Pass that instance to LUA
Modify it in LUA
Is it as easy something like just setting a global? So, far I can register C++ functions in LUA, vice versa and modify/set globals. This is my first time working with LUA so I may be overlooking something and I''ve actually just started improving in C++ over the past few days. So, any help is appreciated. Thanks.