Files
cig/foobar.c
T
2026-04-17 14:54:10 +02:00

15 lines
289 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 < 100; i++ ) {
set_add(&ints, i);
map_print_mapping_state(ints, stdout);
}
}
}