Skip to content

Commit 5fa920d

Browse files
committed
Change template names
1 parent 877e6dd commit 5fa920d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/stdlib_ascii.fypp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ module stdlib_ascii
2727
!> Create a character string representing the value of the provided variable.
2828
interface to_char
2929
#:for kind in INT_KINDS
30-
module procedure :: integer_${kind}$_to_char
31-
module procedure :: logical_${kind}$_to_char
30+
module procedure :: to_char_integer_${kind}$
31+
module procedure :: to_char_logical_${kind}$
3232
#:endfor
3333
end interface to_char
3434

@@ -298,7 +298,7 @@ contains
298298

299299
#:for kind in INT_KINDS
300300
!> Represent an integer of kind ${kind}$ as character sequence
301-
pure function integer_${kind}$_to_char(val) result(string)
301+
pure function to_char_integer_${kind}$(val) result(string)
302302
integer, parameter :: ik = ${kind}$
303303
integer(ik), intent(in) :: val
304304
character(len=:), allocatable :: string
@@ -329,18 +329,18 @@ contains
329329
end if
330330

331331
string = buffer(pos:)
332-
end function integer_${kind}$_to_char
332+
end function to_char_integer_${kind}$
333333
#:endfor
334334

335335
#:for kind in INT_KINDS
336336
!> Represent an logical of kind ${kind}$ as character sequence
337-
pure function logical_${kind}$_to_char(val) result(string)
337+
pure function to_char_logical_${kind}$(val) result(string)
338338
integer, parameter :: ik = ${kind}$
339339
logical(ik), intent(in) :: val
340340
character(len=1) :: string
341341

342342
string = merge("T", "F", val)
343-
end function logical_${kind}$_to_char
343+
end function to_char_logical_${kind}$
344344
#:endfor
345345

346346
end module stdlib_ascii

0 commit comments

Comments
 (0)