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.
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.
Source Code
function get_os()result(os)implicit nonecharacter(:),allocatable::ostype(c_ptr)::ptr! C 側 c_get_os() を呼び出しptr=c_get_os()! NULL ポインタなら "Unknown"、そうでなければ変換関数を使うif(c_associated(ptr))thenos=c_ptr_to_string(ptr)else allocate(character(len=10)::os)os="Unknown OS"end if end function get_os