File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ subroutine SWIGTM_fout_char_Sm_(imout, fout)
78
78
character (kind= C_CHAR), dimension (:), pointer :: chars
79
79
integer (kind= C_SIZE_T) :: i
80
80
call c_f_pointer(imout% data , chars, [imout% size])
81
- allocate (character (kind = C_CHAR, len= imout% size) :: fout)
81
+ allocate (character (len= imout% size) :: fout)
82
82
do i= 1 , imout% size
83
83
fout(i:i) = char (ichar (chars(i)))
84
84
end do
Original file line number Diff line number Diff line change @@ -438,8 +438,8 @@ function swigf_string_size(self) &
438
438
439
439
subroutine SWIGTM_fout_bool (imout , fout )
440
440
use , intrinsic :: ISO_C_BINDING
441
- integer (kind= C_INT), intent (IN ) :: imout
442
- logical , intent (OUT ) :: fout
441
+ integer (kind= C_INT), intent (in ) :: imout
442
+ logical , intent (out ) :: fout
443
443
! TODO: fout = (imout /= 0) ???
444
444
if (imout /= 0 ) then
445
445
fout = .true.
@@ -686,7 +686,7 @@ subroutine SWIGTM_fout_char_Sm_(imout, fout)
686
686
character (kind= C_CHAR), dimension (:), pointer :: chars
687
687
integer (kind= C_SIZE_T) :: i
688
688
call c_f_pointer(imout% data , chars, [imout% size])
689
- allocate (character (kind = C_CHAR, len= imout% size) :: fout)
689
+ allocate (character (len= imout% size) :: fout)
690
690
do i= 1 , imout% size
691
691
fout(i:i) = char (ichar (chars(i)))
692
692
end do
Original file line number Diff line number Diff line change @@ -1234,8 +1234,8 @@ function swigf_VectorInt4_capacity(self) &
1234
1234
1235
1235
subroutine SWIGTM_fout_bool (imout , fout )
1236
1236
use , intrinsic :: ISO_C_BINDING
1237
- integer (kind= C_INT), intent (IN ) :: imout
1238
- logical , intent (OUT ) :: fout
1237
+ integer (kind= C_INT), intent (in ) :: imout
1238
+ logical , intent (out ) :: fout
1239
1239
! TODO: fout = (imout /= 0) ???
1240
1240
if (imout /= 0 ) then
1241
1241
fout = .true.
@@ -2463,7 +2463,7 @@ subroutine SWIGTM_fout_char_Sm_(imout, fout)
2463
2463
character (kind= C_CHAR), dimension (:), pointer :: chars
2464
2464
integer (kind= C_SIZE_T) :: i
2465
2465
call c_f_pointer(imout% data , chars, [imout% size])
2466
- allocate (character (kind = C_CHAR, len= imout% size) :: fout)
2466
+ allocate (character (len= imout% size) :: fout)
2467
2467
do i= 1 , imout% size
2468
2468
fout(i:i) = char (ichar (chars(i)))
2469
2469
end do
You can’t perform that action at this time.
0 commit comments