deallocate_content Subroutine

private pure elemental subroutine deallocate_content(this)

Type Bound

ChatCompletion_messages

Arguments

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

Called by

proc~~deallocate_content~~CalledByGraph proc~deallocate_content foropenai_ChatCompletion::ChatCompletion_messages%deallocate_content proc~deallocate_chatcompletion_messages foropenai_ChatCompletion::ChatCompletion_messages%deallocate_ChatCompletion_messages proc~deallocate_chatcompletion_messages->proc~deallocate_content

Source Code

   elemental pure subroutine deallocate_content(this)
      class(ChatCompletion_messages), intent(inout) :: this
      if (allocated(this%content)) deallocate(this%content)
   end subroutine deallocate_content