Files
cig/foobar.c
T
2026-04-17 15:00:47 +02:00

15 lines
290 B
C

#define CIG_IMPL
#include "cig.h"
int main() {
with_borrow(allocator) {
int *ints;
set_init(&ints, allocator, .initial_capacity=20);
map_print_mapping_state(ints, stdout);
for ( int i = 0; i < 1000; i++ ) {
set_add(&ints, i);
map_print_mapping_state(ints, stdout);
}
}
}