Re: [f2py] Callbacks return 0

Elias Assmann <[email protected]> Fri, 03 May 2013 10:05:04 +0200
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
On 05/01/2013 07:27 AM, Pearu Peterson wrote:
> In Fortran code, you'll need also the following statement:
>
>    REAL*8 FUN
>
> and then the example works.

Thank you, that does work.  Now, I can see that my question looks pretty 
stupid.  But the example was taken literally from 
<http://cens.ioc.ee/projects/f2py2e/usersguide/index.html#call-back-arguments>, 
so I did not doubt the code.  Is this an outdated version of the user's 
guide?  Or is the problem maybe compiler dependent?

Thanks anyhow,

	Elias