Re: [f2py] "natural" Fortran calling conventions?
Thomas Breuel <[email protected]>
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
>> Yes, use intent(cache). Then f2py just passes the array to Fortran >> without any checks and transformations. Actually, another issue with intent(cache) is that it isn't even defined to pass anything or preserve array contents. As written up, intent(cache) might simply look at the size of the thing I pass it and then use a completely different memory buffer. Tom