From dd2de3166653c1bf0d33d5872791ae6fbe8e2998 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 17 Feb 2024 19:52:37 -0500 Subject: Fix up USE_COLOR --- builtins/array.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'builtins/array.c') diff --git a/builtins/array.c b/builtins/array.c index 447650fc..bf1b9309 100644 --- a/builtins/array.c +++ b/builtins/array.c @@ -15,8 +15,6 @@ #include "../SipHash/halfsiphash.h" #include "../util.h" -extern const void *SSS_HASH_VECTOR; - static inline size_t get_item_size(const TypeInfo *info) { return info->ArrayInfo.item->size; @@ -278,7 +276,7 @@ public bool Array__equal(const array_t *x, const array_t *y, const TypeInfo *typ return (Array__compare(x, y, type) == 0); } -public CORD Array__cord(const array_t *arr, bool colorize, const TypeInfo *type) +public CORD Array__as_str(const array_t *arr, bool colorize, const TypeInfo *type) { if (!arr) return CORD_all("[", generic_as_str(NULL, false, type->ArrayInfo.item), "]"); -- cgit v1.2.3