deallocate_user_name Subroutine

private pure elemental subroutine deallocate_user_name(this)

Type Bound

ChatCompletion

Arguments

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

Called by

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

Source Code

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