Tony Peden wrote:
>
> It's unfortunate but I think we're going to have to incorporate this
> cast.
>
> However, I do think we could clean it up a bit with a pre-processor
> define:
> #define AEROINTFUNC double (FGAerodynamics::*)(int) const
> then
> PropertyManager->Tie("forces/fbx-aero-lbs", this,1,
> (AEROINTFUNC)&FGAerodynamics::GetForces);
>
> Hopefully, its still clear that that is a cast.
>
> Assuming Jon does not object, I will accept patches that look like the
> above.
Okay, I'll make the changes to the current JSBSim cvs snapshot (not the
one in FlightGear) and send you the patches. However I might try a
typedef instead of a macro.
Cheers,
Bernie
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel