Skip to content

Commit 2ca2feb

Browse files
committed
Remove unused fragment
1 parent 81d477d commit 2ca2feb

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Lib/fortran/fortranstrings.swg

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@ subroutine %fortrantm(fin, char*)(finp, iminp, temp)
3131
end subroutine
3232
}
3333

34-
// Copy string to character array
35-
%fragment("SWIG_fargout"{char*}, "fsubprograms", fragment="SwigArrayWrapper_f", noblock=1) {
36-
subroutine %fortrantm(fargout, char*)(chars, string)
37-
use, intrinsic :: ISO_C_BINDING
38-
character(kind=C_CHAR), dimension(:), intent(in) :: chars
39-
character(kind=C_CHAR, len=*), intent(out) :: string
40-
integer :: i
41-
do i=1, len(string)
42-
string(i:i) = chars(i)
43-
end do
44-
end subroutine
45-
}
46-
4734
// Return fortran allocatable string from character array
4835
%fragment("SWIG_fout"{char*}, "fsubprograms", fragment="SwigArrayWrapper_f", noblock=1) {
4936
subroutine %fortrantm(fout, char*)(imout, fout)

0 commit comments

Comments
 (0)