[][src]Function flac_sys::FLAC__metadata_simple_iterator_get_block

pub unsafe extern "C" fn FLAC__metadata_simple_iterator_get_block(
    iterator: *mut FLAC__Metadata_SimpleIterator
) -> *mut FLAC__StreamMetadata

Get the metadata block at the current position. You can modify the block but must use FLAC__metadata_simple_iterator_set_block() to write it back to the FLAC file.

You must call FLAC__metadata_object_delete() on the returned object when you are finished with it.

\param iterator A pointer to an existing initialized iterator. \assert \code iterator != NULL \endcode \a iterator has been successfully initialized with FLAC__metadata_simple_iterator_init() \retval FLAC__StreamMetadata* The current metadata block, or \c NULL if there was a memory allocation error.