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.
Source Code
subroutine test_print_file_name_c(fileName)bind(c,name='test_print_file_name')character(kind=C_CHAR,len=1),dimension(*)::fileNamecharacter(len=256)::fileName_finteger::ncharnchar=get_c_string_length(fileName)if(nchar.gt.256)stop"c string length is restricted to 256"fileName_f=get_fortran_string(fileName,nchar)write(*,*)"Tests: ",fileName_f(1:nchar)end subroutine test_print_file_name_c