@@ -735,7 +735,7 @@ write_metadata_schema_header(
735735/* Utilities for in-place subsetting columns */
736736
737737static tsk_size_t
738- count_true (tsk_size_t num_rows , const bool * restrict keep )
738+ count_true (tsk_size_t num_rows , const tsk_bool_t * restrict keep )
739739{
740740 tsk_size_t j ;
741741 tsk_size_t count = 0 ;
@@ -750,7 +750,7 @@ count_true(tsk_size_t num_rows, const bool *restrict keep)
750750
751751static void
752752keep_mask_to_id_map (
753- tsk_size_t num_rows , const bool * restrict keep , tsk_id_t * restrict id_map )
753+ tsk_size_t num_rows , const tsk_bool_t * restrict keep , tsk_id_t * restrict id_map )
754754{
755755 tsk_size_t j ;
756756 tsk_id_t next_id = 0 ;
@@ -766,7 +766,7 @@ keep_mask_to_id_map(
766766
767767static tsk_size_t
768768subset_remap_id_column (tsk_id_t * restrict column , tsk_size_t num_rows ,
769- const bool * restrict keep , const tsk_id_t * restrict id_map )
769+ const tsk_bool_t * restrict keep , const tsk_id_t * restrict id_map )
770770{
771771 tsk_size_t j , k ;
772772 tsk_id_t value ;
@@ -792,7 +792,7 @@ subset_remap_id_column(tsk_id_t *restrict column, tsk_size_t num_rows,
792792
793793static tsk_size_t
794794subset_id_column (
795- tsk_id_t * restrict column , tsk_size_t num_rows , const bool * restrict keep )
795+ tsk_id_t * restrict column , tsk_size_t num_rows , const tsk_bool_t * restrict keep )
796796{
797797 tsk_size_t j , k ;
798798
@@ -808,7 +808,7 @@ subset_id_column(
808808
809809static tsk_size_t
810810subset_flags_column (
811- tsk_flags_t * restrict column , tsk_size_t num_rows , const bool * restrict keep )
811+ tsk_flags_t * restrict column , tsk_size_t num_rows , const tsk_bool_t * restrict keep )
812812{
813813 tsk_size_t j , k ;
814814
@@ -824,7 +824,7 @@ subset_flags_column(
824824
825825static tsk_size_t
826826subset_double_column (
827- double * restrict column , tsk_size_t num_rows , const bool * restrict keep )
827+ double * restrict column , tsk_size_t num_rows , const tsk_bool_t * restrict keep )
828828{
829829 tsk_size_t j , k ;
830830
@@ -840,7 +840,7 @@ subset_double_column(
840840
841841static tsk_size_t
842842subset_ragged_char_column (char * restrict data , tsk_size_t * restrict offset_col ,
843- tsk_size_t num_rows , const bool * restrict keep )
843+ tsk_size_t num_rows , const tsk_bool_t * restrict keep )
844844{
845845 tsk_size_t j , k , i , offset ;
846846
@@ -864,7 +864,7 @@ subset_ragged_char_column(char *restrict data, tsk_size_t *restrict offset_col,
864864
865865static tsk_size_t
866866subset_ragged_double_column (double * restrict data , tsk_size_t * restrict offset_col ,
867- tsk_size_t num_rows , const bool * restrict keep )
867+ tsk_size_t num_rows , const tsk_bool_t * restrict keep )
868868{
869869 tsk_size_t j , k , i , offset ;
870870
@@ -888,7 +888,8 @@ subset_ragged_double_column(double *restrict data, tsk_size_t *restrict offset_c
888888
889889static tsk_size_t
890890subset_remap_ragged_id_column (tsk_id_t * restrict data , tsk_size_t * restrict offset_col ,
891- tsk_size_t num_rows , const bool * restrict keep , const tsk_id_t * restrict id_map )
891+ tsk_size_t num_rows , const tsk_bool_t * restrict keep ,
892+ const tsk_id_t * restrict id_map )
892893{
893894 tsk_size_t j , k , i , offset ;
894895 tsk_id_t di ;
@@ -1804,7 +1805,7 @@ tsk_individual_table_equals(const tsk_individual_table_t *self,
18041805}
18051806
18061807int
1807- tsk_individual_table_keep_rows (tsk_individual_table_t * self , const bool * keep ,
1808+ tsk_individual_table_keep_rows (tsk_individual_table_t * self , const tsk_bool_t * keep ,
18081809 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * ret_id_map )
18091810{
18101811 int ret = 0 ;
@@ -2518,7 +2519,7 @@ tsk_node_table_get_row(const tsk_node_table_t *self, tsk_id_t index, tsk_node_t
25182519}
25192520
25202521int
2521- tsk_node_table_keep_rows (tsk_node_table_t * self , const bool * keep ,
2522+ tsk_node_table_keep_rows (tsk_node_table_t * self , const tsk_bool_t * keep ,
25222523 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * id_map )
25232524{
25242525 int ret = 0 ;
@@ -3210,7 +3211,7 @@ tsk_edge_table_equals(
32103211}
32113212
32123213int
3213- tsk_edge_table_keep_rows (tsk_edge_table_t * self , const bool * keep ,
3214+ tsk_edge_table_keep_rows (tsk_edge_table_t * self , const tsk_bool_t * keep ,
32143215 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * id_map )
32153216{
32163217 int ret = 0 ;
@@ -3968,7 +3969,7 @@ tsk_site_table_dump_text(const tsk_site_table_t *self, FILE *out)
39683969}
39693970
39703971int
3971- tsk_site_table_keep_rows (tsk_site_table_t * self , const bool * keep ,
3972+ tsk_site_table_keep_rows (tsk_site_table_t * self , const tsk_bool_t * keep ,
39723973 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * id_map )
39733974{
39743975 int ret = 0 ;
@@ -4733,7 +4734,7 @@ tsk_mutation_table_dump_text(const tsk_mutation_table_t *self, FILE *out)
47334734}
47344735
47354736int
4736- tsk_mutation_table_keep_rows (tsk_mutation_table_t * self , const bool * keep ,
4737+ tsk_mutation_table_keep_rows (tsk_mutation_table_t * self , const tsk_bool_t * keep ,
47374738 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * ret_id_map )
47384739{
47394740 int ret = 0 ;
@@ -5437,7 +5438,7 @@ tsk_migration_table_equals(const tsk_migration_table_t *self,
54375438}
54385439
54395440int
5440- tsk_migration_table_keep_rows (tsk_migration_table_t * self , const bool * keep ,
5441+ tsk_migration_table_keep_rows (tsk_migration_table_t * self , const tsk_bool_t * keep ,
54415442 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * id_map )
54425443{
54435444 int ret = 0 ;
@@ -6031,7 +6032,7 @@ tsk_population_table_equals(const tsk_population_table_t *self,
60316032}
60326033
60336034int
6034- tsk_population_table_keep_rows (tsk_population_table_t * self , const bool * keep ,
6035+ tsk_population_table_keep_rows (tsk_population_table_t * self , const tsk_bool_t * keep ,
60356036 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * id_map )
60366037{
60376038 int ret = 0 ;
@@ -6661,7 +6662,7 @@ tsk_provenance_table_equals(const tsk_provenance_table_t *self,
66616662}
66626663
66636664int
6664- tsk_provenance_table_keep_rows (tsk_provenance_table_t * self , const bool * keep ,
6665+ tsk_provenance_table_keep_rows (tsk_provenance_table_t * self , const tsk_bool_t * keep ,
66656666 tsk_flags_t TSK_UNUSED (options ), tsk_id_t * id_map )
66666667{
66676668 int ret = 0 ;
0 commit comments