This commit is contained in:
2026-04-17 14:18:24 +02:00
parent 64829d2ba2
commit 9bc0102501
5 changed files with 75 additions and 18 deletions
+12
View File
@@ -0,0 +1,12 @@
#define CIG_IMPL
#include "cig.h"
int main() {
with_borrow(allocator) {
int *ints;
init_set(&ints, allocator, .initial_capacity=20);
map_print_mapping_state(ints, stdout);
set_add(ints, 10);
map_print_mapping_state(ints, stdout);
}
}