[][src]Function flac_sys::FLAC__metadata_object_seektable_resize_points

pub unsafe extern "C" fn FLAC__metadata_object_seektable_resize_points(
    object: *mut FLAC__StreamMetadata,
    new_num_points: c_uint
) -> FLAC__bool

Resize the seekpoint array.

If the size shrinks, elements will truncated; if it grows, new placeholder points will be added to the end.

\param object A pointer to an existing SEEKTABLE object. \param new_num_points The desired length of the array; may be \c 0. \assert \code object != NULL \endcode \code object->type == FLAC__METADATA_TYPE_SEEKTABLE \endcode \code (object->data.seek_table.points == NULL && object->data.seek_table.num_points == 0) || (object->data.seek_table.points != NULL && object->data.seek_table.num_points > 0) \endcode \retval FLAC__bool \c false if memory allocation error, else \c true.