Spelling fix
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 15 May 2020 17:45:35 +0000 (12:45 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Fri, 15 May 2020 17:45:35 +0000 (12:45 -0500)
bh.h

diff --git a/bh.h b/bh.h
index 54a2f382b0ff91193639ea1a0ef561a8f794a398..b2e44081bbac3489ecd9d2147d80ba2655cc464c 100644 (file)
--- 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)