[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Having trouble with tables...
- From: Leo Razoumov <slonik.az@...>
- Date: Wed, 2 Feb 2011 09:03:28 -0500
On Tue, Feb 1, 2011 at 12:02, Eric Clark <firstname.lastname@example.org> wrote:
> Unfortunately, C/C++ code is a requirement. We use Lua in our program to allow Lua scripting of many methods and functions that reside inside of our framework. Basically, we have an inheritance structure that looks like this:
> | |
> Model PropertySet
PiL2 has a whole chapter 16 devoted to OOP, discussing both single
inheritance and multiple inheritance. You can manually mirror your C++
hierarchy shown above in Lua. If you want an automatic way of matching
inheritance trees, you might try tolua++, swig or other Lua binding
generators. This list has had discussions about them recently.