pub unsafe extern "C" fn tsk_mutation_table_get_row(
    self_: *const tsk_mutation_table_t,
    index: tsk_id_t,
    row: *mut tsk_mutation_t
) -> c_int
Expand description

@brief Get the row at the specified index.

@rst Updates the specified mutation struct to reflect the values in the specified row.

This function always sets the edge field in parameter :c:struct:tsk_mutation_t to TSK_NULL. To determine the ID of the edge associated with a particular mutation, please use the tree sequence method, :c:func:tsk_treeseq_get_mutation.

Pointers to memory within this struct are handled by the table and should not be freed by client code. These pointers are guaranteed to be valid until the next operation that modifies the table (e.g., by adding a new row), but not afterwards. @endrst

@param self A pointer to a tsk_mutation_table_t object. @param index The requested table row. @param row A pointer to a tsk_mutation_t struct that is updated to reflect the values in the specified row. @return Return 0 on success or a negative value on failure.