deallocate_prompt Subroutine

private pure elemental subroutine deallocate_prompt(this)

Type Bound

Translation

Arguments

Type IntentOptional Attributes Name
class(Translation), intent(inout) :: this

Called by

proc~~deallocate_prompt~2~~CalledByGraph proc~deallocate_prompt~2 foropenai_Translation::Translation%deallocate_prompt proc~deallocate_translation foropenai_Translation::Translation%deallocate_Translation proc~deallocate_translation->proc~deallocate_prompt~2 program~test_translation test_Translation program~test_translation->proc~deallocate_translation

Source Code

   elemental pure subroutine deallocate_prompt(this)
      class(Translation), intent(inout) :: this
      if (allocated(this%prompt)) deallocate(this%prompt)
   end subroutine deallocate_prompt