Created
January 5, 2016 07:44
-
-
Save HajimeKawahara/8405698c3139ac290962 to your computer and use it in GitHub Desktop.
simple julia wrapper of fortran 90
This file contains 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
#simple julia wrapper of fortran 90 subroutine printint in testf module | |
function calltestf(ia) | |
ia = Int32[ia] | |
product = ccall((:__testf_MOD_printint, "testf.so"),Int32,(Ptr{Int32},),ia) | |
return product | |
end | |
calltestf(7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment