Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i
integer,
private
::
n
Source Code
pure function string_to_c(s)result(c)!! Pack a Fortran string into a null-terminated c_char array.character(len=*),intent(in)::scharacter(kind=c_char),allocatable::c(:)integer::i,nn=len_trim(s)allocate(c(n+1))do i=1,nc(i)=s(i:i)end doc(n+1)=c_null_charend function string_to_c