From 9bb0fab71acd8c730fff396bd93154f916ba397b Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 19 Feb 2020 11:13:17 -0500 Subject: struct parameters seem to be working --- instance_table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'instance_table.c') diff --git a/instance_table.c b/instance_table.c index 0f8948a..58dc635 100644 --- a/instance_table.c +++ b/instance_table.c @@ -283,6 +283,7 @@ static bool val_eq(Value u, Value v, Type *t) { /* if already_exists is not NULL, this will create the instance if it does not exist, and set already_exists accordingly + make sure v's data remains valid */ /* OPTIM: store instances in a block array (remember that the pointers need to stay valid!) */ static Instance *instance_table_adda(Allocator *a, HashTable *h, Value v, Type *t, -- cgit v1.2.3