[−][src]Function flac_sys::FLAC__metadata_iterator_set_block
pub unsafe extern "C" fn FLAC__metadata_iterator_set_block(
iterator: *mut FLAC__Metadata_Iterator,
block: *mut FLAC__StreamMetadata
) -> FLAC__bool
Set the metadata block at the current position, replacing the existing block. The new block passed in becomes owned by the chain and it will be deleted when the chain is deleted.
\param iterator A pointer to an existing initialized iterator. \param block A pointer to a metadata block. \assert \code iterator != NULL \endcode \a iterator has been successfully initialized with FLAC__metadata_iterator_init() \code block != NULL \endcode \retval FLAC__bool \c false if the conditions in the above description are not met, or a memory allocation error occurs, otherwise \c true.