From 5298940fc7798455d701d075b910e0545d3f6048 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 21 Jun 2024 01:05:00 +0100 Subject: proper equality for values; deduplicate constants in compilation --- val.h | 1 + 1 file changed, 1 insertion(+) (limited to 'val.h') diff --git a/val.h b/val.h index aa20b48..1db122b 100644 --- a/val.h +++ b/val.h @@ -31,6 +31,7 @@ void println_val(Val v); const char *typename_str(Val v); bool is_truthy(Val v); +bool val_equal(Val a, Val b); typedef enum { -- cgit v1.2.3