deallocate_url Subroutine

private pure elemental subroutine deallocate_url(this)

Type Bound

ImageGeneration

Arguments

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

Called by

proc~~deallocate_url~3~~CalledByGraph proc~deallocate_url~3 foropenai_ImageGeneration::ImageGeneration%deallocate_url proc~deallocate_imagegeneration foropenai_ImageGeneration::ImageGeneration%deallocate_ImageGeneration proc~deallocate_imagegeneration->proc~deallocate_url~3 program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~deallocate_imagegeneration

Source Code

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