From 6d15697edce2217a2bbc82def26262d18dac6373 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 21 May 2025 14:25:45 -0400 Subject: Added Set infix operations, as well as Table.with_fallback() and fixed some bugs with update assignment. --- src/stdlib/tables.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stdlib/tables.h') diff --git a/src/stdlib/tables.h b/src/stdlib/tables.h index ad6127c7..f80c16c3 100644 --- a/src/stdlib/tables.h +++ b/src/stdlib/tables.h @@ -59,6 +59,8 @@ void Table$remove(Table_t *t, const void *key, const TypeInfo_t *type); Table_t Table$overlap(Table_t a, Table_t b, const TypeInfo_t *type); Table_t Table$with(Table_t a, Table_t b, const TypeInfo_t *type); Table_t Table$without(Table_t a, Table_t b, const TypeInfo_t *type); +Table_t Table$xor(Table_t a, Table_t b, const TypeInfo_t *type); +Table_t Table$with_fallback(Table_t t, OptionalTable_t fallback); PUREFUNC bool Table$is_subset_of(Table_t a, Table_t b, bool strict, const TypeInfo_t *type); PUREFUNC bool Table$is_superset_of(Table_t a, Table_t b, bool strict, const TypeInfo_t *type); -- cgit v1.2.3