Function tskit::bindings::tsk_population_table_truncate
source · pub unsafe extern "C" fn tsk_population_table_truncate(
self_: *mut tsk_population_table_t,
num_rows: tsk_size_t
) -> c_int
Expand description
@brief Truncates this table so that only the first num_rows are retained.
@param self A pointer to a tsk_population_table_t object. @param num_rows The number of rows to retain in the table. @return Return 0 on success or a negative value on failure.