destroy_ga_stringkeyvaluepair Subroutine

private subroutine destroy_ga_stringkeyvaluepair(me)

Arguments

Type IntentOptional Attributes Name
type(grw_stringkeyvaluepairarray_type), intent(inout) :: me

Called by

proc~~destroy_ga_stringkeyvaluepair~~CalledByGraph proc~destroy_ga_stringkeyvaluepair destroy_ga_stringkeyvaluepair interface~destroy~24 destroy interface~destroy~24->proc~destroy_ga_stringkeyvaluepair

Contents


Source Code

  subroutine destroy_ga_stringkeyvaluepair(me)
    type(grw_stringkeyvaluepairarray_type), intent(inout) :: me !< dynamic array to destroy

    me%containersize = 0
    me%nvals = 0
    if( allocated( me%val ) ) deallocate(me%val)

  end subroutine destroy_ga_stringkeyvaluepair