Function tskit::bindings::tsk_table_collection_set_metadata
source · pub unsafe extern "C" fn tsk_table_collection_set_metadata(
self_: *mut tsk_table_collection_t,
metadata: *const c_char,
metadata_length: tsk_size_t
) -> c_int
Expand description
@brief Set the metadata @rst Copies the metadata string to this table collection, replacing any existing. @endrst @param self A pointer to a tsk_table_collection_t object. @param metadata A pointer to a char array. @param metadata_length The size of the metadata in bytes. @return Return 0 on success or a negative value on failure.