From d94053ca7768037016cbcacc4cadf843dad1bea6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 26 Mar 2024 14:59:52 -0400 Subject: Add array:reversed() --- builtins/array.h | 1 + 1 file changed, 1 insertion(+) (limited to 'builtins/array.h') diff --git a/builtins/array.h b/builtins/array.h index b538be30..dad72b7e 100644 --- a/builtins/array.h +++ b/builtins/array.h @@ -63,6 +63,7 @@ void Array__clear(array_t *array); void Array__compact(array_t *arr, const TypeInfo *type); bool Array__contains(array_t array, void *item, const TypeInfo *type); array_t Array__slice(array_t *array, int64_t first, int64_t length, int64_t stride, const TypeInfo *type); +array_t Array__reversed(array_t array); array_t Array__concat(array_t x, array_t y, const TypeInfo *type); 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); -- cgit v1.2.3