#[unsafe(no_mangle)]pub unsafe extern "C" fn hurray_item_destroy(
handle: *mut *mut HurrayItem,
) -> HurrayStatusExpand description
Destroys an item, every tensor and name it owns, then writes null through handle.
One call for a whole composite subtree: the nodes’ tensor pointers were borrowed and
are released here, so a caller that destroyed them individually would double-free.
§Safety
handleMUST be a valid, non-null pointer to a*mut HurrayItemproduced byhurray_reader_next_itemorhurray_file_reader_read_composite.- That item MUST NOT have been destroyed already.