Function tskit::bindings::tsk_population_table_equals[][src]

pub unsafe extern "C" fn tsk_population_table_equals(
    self_: *const tsk_population_table_t,
    other: *const tsk_population_table_t,
    options: tsk_flags_t
) -> bool

@brief Returns true if the data in the specified table is identical to the data in this table.

@rst

Options**

Options to control the comparison can be specified by providing one or more of the following bitwise flags. By default (options=0) tables are considered equal if they are byte-wise identical in all columns, and their metadata schemas are byte-wise identical.

TSK_CMP_IGNORE_METADATA Do not include metadata in the comparison. Note that as metadata is the only column in the population table, two population tables are considered equal if they have the same number of rows if this flag is specified.

@endrst

@param self A pointer to a tsk_population_table_t object. @param other A pointer to a tsk_population_table_t object. @param options Bitwise comparison options. @return Return true if the specified table is equal to this table.