[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to bind inherited C++ classes?
- From: liam mail <liam.list@...>
- Date: Sat, 31 Dec 2011 12:28:16 +0100
On Saturday, 31 December 2011, Michael Kirsch <mkirsch358@gmail.com> wrote:
> How do I bind C++ classes to Lua so that when I try to convert a Lua
> object to a C++ class, it succeeds even if the object contains a C++
> class that's derived from the one I want?
>
>
Without trying to sound facetious, use an already available library which provides this functionality. If that is not what you want the Lua authors and others have a number of articles, for example in Game Programming Gems.
Liam