From 7355b2f7fe6f5dda2aee8feca025350146ccd0f5 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 17 Feb 2024 18:38:29 -0500 Subject: Change things up to use type params for all array and table methods --- environment.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'environment.c') diff --git a/environment.c b/environment.c index d6bb4c65..7e909cc4 100644 --- a/environment.c +++ b/environment.c @@ -51,10 +51,7 @@ env_t *new_compilation_unit(void) table_t namespace; } global_types[] = { {"Bool", Type(BoolType), "Bool_t", "Bool", {}}, - {"Int", Type(IntType, .bits=64), "Int_t", "Int", Table_from_entries(*(array_t*)ARRAY( - new(ns_entry_t, "min", {"Int.min", Type(IntType, .bits=64)}), - new(ns_entry_t, "max", {"Int.max", Type(IntType, .bits=64)}), - ), &StrToVoidStarTable_type)}, + {"Int", Type(IntType, .bits=64), "Int_t", "Int", {}}, }; for (size_t i = 0; i < sizeof(global_types)/sizeof(global_types[0]); i++) { -- cgit v1.2.3