On Wed, Oct 22, 2008 at 2:56 PM, klaas.holwerda <[EMAIL PROTECTED]> wrote:
> John Labenski wrote:
>>
>>>    //%operator a2dAffineMatrix operator-( const a2dAffineMatrix& a,
>>> const a2dAffineMatrix& b )
>>>
> Even this one compiles now.
> Which looks like two operands??

I don't know why, didn't it generate something like this?

%operator double operator-( int col, int row )

double returns = ((*self)-(col, row));

Anyway, it should be fixed in CVS.

>>>    //static a2dAffineMatrix Mul( const a2dAffineMatrix &m1, const
>>> a2dAffineMatrix &m2 )
>>>    //double& operator()( int col, int row )

This should work too, but without the "double&" since there really
isn't a good way to wrap a reference to the double value without A LOT
of changes. In the end it'd be far more inefficient than simply
calling a Set(col,row) function to change the value.

Regards,
    John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to