Skip to content

Commit

Permalink
intent in c binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed May 3, 2024
1 parent 7ae6508 commit 56e8019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion equilibrate/fortran/equilibrate_c_api.f90
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ subroutine allocate_chemequianalysis(ptr) bind(c)

subroutine deallocate_chemequianalysis(ptr) bind(c)
use equilibrate, only: ChemEquiAnalysis
type(c_ptr), intent(out) :: ptr
type(c_ptr), intent(in) :: ptr
type(ChemEquiAnalysis), pointer :: cea
call c_f_pointer(ptr, cea)
deallocate(cea)
Expand Down

0 comments on commit 56e8019

Please sign in to comment.