diff options
Diffstat (limited to 'builtins/array.h')
| -rw-r--r-- | builtins/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/array.h b/builtins/array.h index 5d0a2ee4..9815ddff 100644 --- a/builtins/array.h +++ b/builtins/array.h @@ -19,7 +19,7 @@ array_t Array_slice(array_t *array, int64_t first, int64_t stride, int64_t lengt uint32_t Array_hash(const array_t *arr, const TypeInfo *type); int32_t Array_compare(const array_t *x, const array_t *y, const TypeInfo *type); bool Array_equal(const array_t *x, const array_t *y, const TypeInfo *type); -CORD Array_cord(const array_t *arr, bool colorize, const TypeInfo *type); +CORD Array_as_str(const array_t *arr, bool colorize, const TypeInfo *type); // Due to some C language weirdness, the type of "foo" is inferred to be `char[3]` instead of `const char*` // This is a hacky workaround to ensure that __typeof("foo") => `const char *` |
