functionmerged_bodyprivate
integer function merged_body(site, id) result(body)
The body of separate module procedure id, if its page is that of both, or 0.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| site | type(site_t) | in | the site | |
| id | integer | in | the entity |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| body | integer |
Calls
Called by
Source
Show the code
integer function merged_body(site, id) result(body)
type(site_t), intent(in) :: site !! the site
integer, intent(in) :: id !! the entity
body = 0
if (.not. is_separate_interface(site%p%list, id)) return
if (page_entity(site%p%list, site%p%list%box(id)%e%implements) == id) body = site%p%list%box(id)%e%implements
end function merged_body