some progress, but broken

This commit is contained in:
2026-04-17 14:54:10 +02:00
parent 9bc0102501
commit 7d39b21c98
3 changed files with 25 additions and 15 deletions
+5 -3
View File
@@ -4,9 +4,11 @@
int main() {
with_borrow(allocator) {
int *ints;
init_set(&ints, allocator, .initial_capacity=20);
map_print_mapping_state(ints, stdout);
set_add(ints, 10);
set_init(&ints, allocator, .initial_capacity=20);
map_print_mapping_state(ints, stdout);
for ( int i = 0; i < 100; i++ ) {
set_add(&ints, i);
map_print_mapping_state(ints, stdout);
}
}
}