From: Brendan Hansen Date: Fri, 15 May 2020 17:45:35 +0000 (-0500) Subject: Spelling fix X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=b9b9475457a5e29eebc5a2d8ccca4cff831ae366;p=onyx.git Spelling fix --- 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)