[f2py] Structure support?
Mon, 25 Mar 2002 19:54:15 +0200 (EET)
On 25 Mar 2002, James Amundson wrote:
> Is there any support for structures in f2py? i.e.,
> module JFAClass
> implicit none
> type triplet
> integer :: x,y,z
> end type triplet
> etc? I'm having trouble with that sort of code. If it is completely
> unsupported, then I won't bother. If it is unsupported, would there be
> some sort of workaround?
Currently structures are unsupported. Until I will have some extra time
and a free F90 compiler to work on this...
As a work around, you'll need to write some simple Fortran wrappers to
access items in structures and then wrap these wrappers to python.