[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua - C++ Bindings
- From: Daniel Wallin <daniel@...>
- Date: Wed, 21 Jan 2009 22:47:04 +0100
Anders Backman wrote:
> On Tue, Jan 20, 2009 at 7:07 PM, Ariel Manzur <firstname.lastname@example.org
> <mailto:email@example.com>> wrote:
> On Tue, Jan 20, 2009 at 11:13 AM, Anders Backman <firstname.lastname@example.org
> <mailto:email@example.com>> wrote:
> > - LuaBind
> > * Full support of virtual methods
> do you know if this is documented? I didn't see anything on their
> manual, but I'd love to see how this kind of thing is implemented.
> Hm, I guess it was only one way.
FWIW, it's section 10.1:
You have to write a thin wrapper class to enable overriding virtual
functions in Lua. Unless you use some kind of code generation, there's
just no other way.