<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>> the first problem is i have no idea how to ignore the memory management<br>> callbacks. i don't need them so i tried to define incomplete types and pass
<br>> NULL but this doesn't work.<br><br>Write your own cdef callbacks and use them instead of NULL.<br><br>><br>> the second problem is i don't know how to pass the NewtonWorld pointer<br>> around between python and pyrex?
<br><br>Either use a PythonCObject, or (better) set it as a cdef attribute of a cdef extension class.</blockquote><div><br>
ok, thanks! i will experiment with your suggestions.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">(by the way, this looks like a fun project! and have you seen pyODE ?)</blockquote>
<div><br>
yes, i know pyODE! i think newton is more powerful and easier to use though so i would like to have pynewton! :) <br>
<br>
horace<br>
</div></div><br>