f90wrap icon indicating copy to clipboard operation
f90wrap copied to clipboard

Unlimited polymorphic object

Open clementlfnd opened this issue 5 years ago • 1 comments
trafficstars

Dear James,

Is there any way to work with fortran unlimited polymorphic object ? If I try to wrap such routine I get an error so I suppose that these feature is not wrapped in f90wrap.

"getctype: No C-type found in "{}", assuming void."

` recursive subroutine subroutine_name(self) class(*), intent(inout) :: self

select type(self) class is (class_name) class default end select end subroutine subroutine_name`

Regards,

Clément

clementlfnd avatar May 22 '20 13:05 clementlfnd

I'm afraid I didn't add support for objected-oriented Fortran and the class statement. Pull requests to improve this would be welcome!

jameskermode avatar Jun 02 '20 19:06 jameskermode