Doubly-linked list/Definition: Difference between revisions

Content added Content deleted
m (→‎{{header|Fortran}}: "elemental" prefix for subroutine "tidy")
Line 1,002: Line 1,002:


! Deallocate all allocated memory
! Deallocate all allocated memory
subroutine tidy(dl2)
elemental subroutine tidy(dl2)
type(dll), intent(in) :: dl2
type(dll), intent(inout) :: dl2
type(node), pointer :: current, last
type(node), pointer :: current, last