[][src]Function flac_sys::FLAC__metadata_object_cuesheet_track_clone

pub unsafe extern "C" fn FLAC__metadata_object_cuesheet_track_clone(
    object: *const FLAC__StreamMetadata_CueSheet_Track
) -> *mut FLAC__StreamMetadata_CueSheet_Track

Create a copy of an existing CUESHEET track object.

The copy is a "deep" copy, i.e. dynamically allocated data within the object is also copied. The caller takes ownership of the new object and is responsible for freeing it with FLAC__metadata_object_cuesheet_track_delete().

\param object Pointer to object to copy. \assert \code object != NULL \endcode \retval FLAC__StreamMetadata_CueSheet_Track* \c NULL if there was an error allocating memory, else the new instance.