On Tue, Sep 1, 2009 at 14:28, Mirko Vukovic<mirko.vuko...@gmail.com> wrote: > ;; I got the trailing underscore by using `nm' on the library. > (defcfun "test_link_" test-link (a :float)) ; (b :float) (i :int))
Fortran passes by pointer ("by reference" is the proper way to call it, unless you're a C programmer) unless the Fortran subroutine / function specifically tags the variable as a "value" type. You're not, so a, b, and i should all be pointers in the above defcfun. mfh _______________________________________________ cffi-devel mailing list cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel