deallocate_assistant_response Subroutine

private pure elemental subroutine deallocate_assistant_response(this)

Type Bound

Translation

Arguments

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

Called by

proc~~deallocate_assistant_response~3~~CalledByGraph proc~deallocate_assistant_response~3 foropenai_Translation::Translation%deallocate_assistant_response proc~deallocate_translation foropenai_Translation::Translation%deallocate_Translation proc~deallocate_translation->proc~deallocate_assistant_response~3 program~test_translation test_Translation program~test_translation->proc~deallocate_translation

Source Code

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