From b9b9475457a5e29eebc5a2d8ccca4cff831ae366 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Fri, 15 May 2020 12:45:35 -0500 Subject: [PATCH] Spelling fix --- bh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bh.h b/bh.h index 54a2f382..b2e44081 100644 --- a/bh.h +++ b/bh.h @@ -156,7 +156,7 @@ ptr bh_resize_aligned(bh_allocator a, ptr data, isize new_size, isize alignment) void bh_free(bh_allocator a, ptr data); #define bh_alloc_item(allocator_, T) (T *) bh_alloc(allocator_, sizeof(T)) -#define bh_alloc_araray(allocator_, T, n) (T *) bh_alloc(allocator_, sizeof(T) * (n)) +#define bh_alloc_array(allocator_, T, n) (T *) bh_alloc(allocator_, sizeof(T) * (n)) // NOTE: This should get optimized out since alignment should be a power of two #define bh__align(x, alignment) ((((x) / alignment) + 1) * alignment) -- 2.25.1