Kurt Smith <kwmsm...@...> writes:
> Hi, Jon.  I'm the 'maintaner' of fwrap, which is the new name of
> 'f2cy' (I clearly need to put an update post on the blog!).  It's
> still in development, and will have basic functionality ready to go in
> a few weeks.  I don't know if we'll have C (i.e. cdef) callbacks
> implemented by then, but it will be high on the priority list.  It
> will certainly help you wrap a Fortran library in Cython, as you
> desire, although the api is similar to f2py where the wrapping is
> automated, 

Looking at http://www.scipy.org/F2py (it was down the last time I researched 
this), it certainly looks promising. What is it that fwrap offers that f2py 
doesn't? Direct access from C(ython), rather than the overhead of a Python 
extension module?

Is there a separate mailing list for f2py?

How would I pass a function pointer (callback) to the f2py-generated extension 
module?

> rather than the ctypes-like example you have below.

I'm not really familiar with ctypes; I tried to imitate the Cython coding 
patterns I have acquired in the last few months 8-) Could you tell me what is 
ctypes-like about it?

> If you
> can't wait that long then you'll have to find another way.  I'm sorry
> that I can't devote the time to your particular mixed language
> programming questions, since I have to put all my time into fwrap.

No problem. I was just thinking that maybe the development version was 
available for download somewhere. If it has docstrings and some examples/
unittests/doctests, I could have a look.

Thank you for your help!

Regards,
Jon Olav


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to