From 07c2b0ec26600d8609870d9f5c0867d48b801db4 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 8 Mar 2024 14:23:16 -0500 Subject: Array methods --- builtins/array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'builtins/array.h') diff --git a/builtins/array.h b/builtins/array.h index 926dd4af..52fd65e3 100644 --- a/builtins/array.h +++ b/builtins/array.h @@ -52,10 +52,10 @@ void Array__remove(array_t *arr, int64_t index, int64_t count, const TypeInfo *t void Array__sort(array_t *arr, const TypeInfo *type); void Array__shuffle(array_t *arr, const TypeInfo *type); void *Array__random(array_t arr); -void Array__clear(array_t *array, const TypeInfo *type); +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 stride, int64_t length, 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__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