[f2py] Re: mycb (callback question)
Tue, 21 Aug 2001 00:00:05 +0200 (EET)
On Mon, 20 Aug 2001, Curtis Jensen wrote:
> In the attached exmaple, I want to have a callback function that I just
> pass to another subroutine. However, f2py seems to want to know the
> arguments for the callback function.
Yes. It needs to know that information.
> Can I use the in-file f2py
> comment/directives to tell f2py what the arguments are for the
> callback. Or do I have to use a .pyf file?
Both ways should work. Try it. Though, I have not tested f2py to work for