[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Explicit call of C++ destructors from within Lua (Lunar based)
- From: vasilb@...
- Date: Wed, 26 Nov 2008 14:25:28 +0000
From: Hakki Dogusan
To: Lua list
ReplyTo: Lua list
Sent: Nov 26, 2008 15:09
Subject: Re: Explicit call of C++ destructors from within Lua (Lunar based)
Michael Bauroth wrote:
> Hi Hakki,
> I would strongly prefer LuaBind at the moment, because it seems the
> easiest way to write an LuaBaseClass with an abstract Bind() method, so
> that each C++ class only needs to implement this method with the needed
> binding stuff.
I didn't use LuaBind, can't comment about it.
I used SWIG (for Python) and toLua (once, for Lua 4.x?) for binding of a
C++ library. Whenever a new Python version is released, someone asks for
my binding for it. I re-generate binding with SWIG, compile, upload it
.. (Funny thing is, I'm not using neither my binding nor target library
and Python since Python-1.5. Since target library is a commercial
product, I can't open source my SWIG interface '*.i' files, neither. :) )
Nowadays, I'm using Lunar or manual binding.
But, I always seperate C++ implementation with binding implementation
for my code. I don't have another option for a foreign library, anyway :)
> Hakki Dogusan schrieb:
Sent from my BlackBerry® wireless device