[ODE] swig compatability

Terry L. Triplett c0d3g33k at gmail.com
Wed Apr 5 20:20:29 MST 2006


Google is your friend - embrace it.  Search for "ode bindings swig"

First hit:  http://odejava.org/tiki-index.php?page=OdejavaCompileNative

On 4/5/06, rod kay <rodkay at mullum.com.au> wrote:
>
>
> 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.
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://q12.org/pipermail/ode/attachments/20060405/a0493f25/attachment.htm


More information about the ODE mailing list