Function tskit::bindings::tsk_migration_table_clear
source · pub unsafe extern "C" fn tsk_migration_table_clear(
self_: *mut tsk_migration_table_t
) -> c_int
Expand description
@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_migration_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_migration_table_t object. @return Return 0 on success or a negative value on failure.