[ODE] swig compatability
rod kay
rodkay at mullum.com.au
Wed Apr 5 19:52:02 MST 2006
Hi,
Has anyone tried to produce 'other' language bindings to ODE via the
swig tool ?
I've tried, but swig does not seem to handle certain typedef'ed
callback declarations of the form ...
typedef void dNearCallback (void *data, dGeomID o1, dGeomID o2);
If I change the typdef to ...
typedef void (*dNearCallback) (void *data, dGeomID o1, dGeomID o2);
... and make appropriate changes to functions using this callback
type, swig handles it ok.
So i guess the question is whether or not swig-compatability for ode
is desirable enough to warrant these sort of changes ?
regards,
Rod.
More information about the ODE
mailing list