diff options
Diffstat (limited to 'builtins/array.h')
| -rw-r--r-- | builtins/array.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/builtins/array.h b/builtins/array.h index 5ee115ae..a2e76f18 100644 --- a/builtins/array.h +++ b/builtins/array.h @@ -5,12 +5,10 @@ #include <stdbool.h> #include <gc/cord.h> -#include "util.h" #include "datatypes.h" #include "functions.h" #include "types.h" - -extern bool USE_COLOR; +#include "util.h" // Convert negative indices to back-indexed without branching: index0 = index + (index < 0)*(len+1)) - 1 #define Array_get(item_type, arr_expr, index_expr, filename, start, end) *({ \ |
