deallocate_url Subroutine

private pure elemental subroutine deallocate_url(this)

Type Bound

ChatCompletion

Arguments

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

Called by

proc~~deallocate_url~2~~CalledByGraph proc~deallocate_url~2 foropenai_ChatCompletion::ChatCompletion%deallocate_url proc~deallocate_chatcompletion foropenai_ChatCompletion::ChatCompletion%deallocate_ChatCompletion proc~deallocate_chatcompletion->proc~deallocate_url~2 program~test_chatcompletion test_ChatCompletion program~test_chatcompletion->proc~deallocate_chatcompletion

Source Code

   elemental pure subroutine deallocate_url(this)
      class(ChatCompletion), intent(inout) :: this
      if (allocated(this%url)) deallocate(this%url)
   end subroutine deallocate_url