subroutineborrow_summariesprivate
subroutine borrow_summaries(p)
Give the interface or the body of a separate module procedure without a summary that of the other.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| p | type(project_t) | inout | the project |
Calls
Called by
Source
Show the code
subroutine borrow_summaries(p)
type(project_t), intent(inout) :: p !! the project
integer :: k, other
do k = 1, p%list%n
other = p%list%box(k)%e%implements
if (other <= 0) cycle
if (has_summary(p%list%box(k)%e) .or. .not. has_summary(p%list%box(other)%e)) cycle
p%list%box(k)%e%summary = p%list%box(other)%e%summary
end do
end subroutine borrow_summaries