Skip to content

Commit fe2ea98

Browse files
committed
Use consistent case for in/out
1 parent b0b8f7b commit fe2ea98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Lib/fortran/fundamental.swg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ using std::ptrdiff_t;
2929
%fragment("SWIG_fin"{bool}, "fsubprograms", noblock=1) {
3030
subroutine %fortrantm(fin, bool)(finp, iminp)
3131
use, intrinsic :: ISO_C_BINDING
32-
logical, intent(IN) :: finp
33-
integer(kind=C_INT), intent(OUT) :: iminp
32+
logical, intent(in) :: finp
33+
integer(kind=C_INT), intent(out) :: iminp
3434
if (finp .eqv. .true.) then
3535
iminp = 1
3636
else
@@ -42,8 +42,8 @@ end subroutine
4242
%fragment("SWIG_fout"{bool}, "fsubprograms", noblock=1) {
4343
subroutine %fortrantm(fout, bool)(imout, fout)
4444
use, intrinsic :: ISO_C_BINDING
45-
integer(kind=C_INT), intent(IN) :: imout
46-
logical, intent(OUT) :: fout
45+
integer(kind=C_INT), intent(in) :: imout
46+
logical, intent(out) :: fout
4747
! TODO: fout = (imout /= 0) ???
4848
if (imout /= 0) then
4949
fout = .true.

0 commit comments

Comments
 (0)