hts_idx_set_meta

@param idx The index @param l_meta Length of data @param meta Pointer to the extra data @param is_copy If not zero, a copy of the data is taken @return 0 on success; -1 on failure (out of memory).

Sets the data that is returned by hts_idx_get_meta().

If is_copy != 0, a copy of the input data is taken. If not, ownership of the data pointed to by *meta passes to the index.

extern (C)
int
hts_idx_set_meta
(,
uint32_t l_meta
,
uint8_t* meta
,)

Meta