Thanks to visit codestin.com
Credit goes to github.com

Skip to content

f2py parser fails on a Fortran function with C binding #9693

Closed
@dhermes

Description

@dhermes

Related to #2275 (I opened a new issue per @charris request).

See this gist for a repro. Observed with numpy==1.13.1 in Python 3.6. The source causing a failure is:

function wat(x, y) result(z) bind(c, name='wat')
  integer, intent(in) :: x, y
  integer :: z

  z = x + y
end function wat

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions