Function tskit::bindings::tsk_population_table_clear[][src]

pub unsafe extern "C" fn tsk_population_table_clear(
    self_: *mut tsk_population_table_t
) -> c_int

@brief Clears this table, setting the number of rows to zero.

@rst No memory is freed as a result of this operation; please use :c:func:tsk_population_table_free to free the table’s internal resources. Note that the metadata schema is not cleared. @endrst

@param self A pointer to a tsk_population_table_t object. @return Return 0 on success or a negative value on failure.