Skip to content

Instantly share code, notes, and snippets.

@gzahl
gzahl / README
Created September 25, 2011 14:22 — forked from certik/fparser
Generate .pxd from Fortran sources
Source: http://groups.google.com/group/fwrap-users/browse_thread/thread/885277f9cc724b9d#
Hi,
I wanted to share the code that I wrote:
https://gist.github.com/1013569
that takes a Fortran source (that uses the iso_c_binding module), like
the following:
module c_dftatom
! C interface to dftatom
use iso_c_binding, only: c_int, c_double, c_bool