FLAC__metadata_object_clone

Create a copy of an existing metadata 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 block and is responsible for freeing it with FLAC__metadata_object_delete().

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

extern (C) nothrow
FLAC__metadata_object_clone

Meta