diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 19:52:37 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 19:52:37 -0500 |
| commit | dd2de3166653c1bf0d33d5872791ae6fbe8e2998 (patch) | |
| tree | e7a8818fa1e7663dd8b921440a32e8ed1e6148df /builtins/array.c | |
| parent | a09a8339e78923688440e6b303e49eb7c6a02b29 (diff) | |
Fix up USE_COLOR
Diffstat (limited to 'builtins/array.c')
| -rw-r--r-- | builtins/array.c | 4 |
1 files changed, 1 insertions, 3 deletions
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), "]"); |
