[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ANN: Alien 0.3.1
- From: "Fabio Mascarenhas" <mascarenhas@...>
- Date: Thu, 14 Feb 2008 14:52:01 -0200
For non virtual methods (and assuming the object has a non-virtual
constructor), yes, if the ABI for your C++ compiler passes the this
pointer as an extra parameter. But if there is an uncaught C++
exception you are in trouble...
Proper treating of C strucutres comes first in my todo-list for Alien.
:-) It would be nice if all C APIs where like Lua's and used only the
primitive types, with all structures being black boxes, but in the
ugly real world you are lucky if most of the API "functions" are
actual functions instead of C macros.
On Thu, Feb 14, 2008 at 1:49 PM, Javier Guerra <firstname.lastname@example.org> wrote:
> On 2/14/08, Fabio Mascarenhas <email@example.com> wrote:
> > No. For C++ you are much better using a source level tool such as
> mmmhh.... what if somebody wrote a namemangler in Lua? would that be enough?