diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-26 14:59:52 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-26 14:59:52 -0400 |
| commit | d94053ca7768037016cbcacc4cadf843dad1bea6 (patch) | |
| tree | cfca6501f96d46c15adb40651de8213ee83d0f31 /builtins/array.h | |
| parent | 135e23094c42b33acdd05dd522bbe0fd691b9eee (diff) | |
Add array:reversed()
Diffstat (limited to 'builtins/array.h')
| -rw-r--r-- | builtins/array.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
