This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |