mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-03 10:06:09 +01:00
Fixed Fortran interface
This commit is contained in:
parent
170fc770f5
commit
885f7b000e
@ -181,11 +181,11 @@ void qmckl_string_of_error(qmckl_exit_code error, char string[<<MAX_STRING_LENGT
|
||||
# Fortran interface
|
||||
#+begin_src f90 :tangle (eval fh) :noexport :noweb yes
|
||||
interface
|
||||
type (c_ptr) function qmckl_string_of_error (error, string) bind(C)
|
||||
subroutine qmckl_string_of_error (error, string) bind(C)
|
||||
use, intrinsic :: iso_c_binding
|
||||
integer (c_int32_t), intent(in), value :: error
|
||||
character*(<<MAX_STRING_LENGTH()>>), intent(out) :: string
|
||||
end function qmckl_string_of_error
|
||||
integer (c_int32_t), intent(in), value :: error
|
||||
character, intent(out) :: string(<<MAX_STRING_LENGTH()>>)
|
||||
end subroutine qmckl_string_of_error
|
||||
end interface
|
||||
#+end_src
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user