From 0d36812c6af951a41caac77d5f312949f3bc521f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 22:55:03 -0400 Subject: Deprecate binary ops (other than ++) for tables. Instead use proper methods: t.with(other), t.without(other), t.intersection(other), t.difference(other) --- src/stdlib/tables.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/stdlib/tables.h') diff --git a/src/stdlib/tables.h b/src/stdlib/tables.h index 4364530a..f4870f80 100644 --- a/src/stdlib/tables.h +++ b/src/stdlib/tables.h @@ -91,10 +91,10 @@ void Table$remove(Table_t *t, const void *key, const TypeInfo_t *type); Table$remove(t, &k, type); \ }) -Table_t Table$and(Table_t a, Table_t b, const TypeInfo_t *type); -Table_t Table$or(Table_t a, Table_t b, const TypeInfo_t *type); -Table_t Table$minus(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$intersection(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$difference(Table_t a, Table_t b, const TypeInfo_t *type); Table_t Table$with_fallback(Table_t t, OptionalTable_t fallback); void Table$clear(Table_t *t); -- cgit v1.2.3