projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db2fe5f
)
Spelling fix
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Fri, 15 May 2020 17:45:35 +0000
(12:45 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Fri, 15 May 2020 17:45:35 +0000
(12:45 -0500)
bh.h
patch
|
blob
|
history
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_ar
aray(allocator_, T, n)
(T *) bh_alloc(allocator_, sizeof(T) * (n))
+#define bh_alloc_ar
ray(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)