merge from dev

This commit is contained in:
Daan Leijen 2022-04-20 17:34:47 -07:00
parent 31473c8e37
commit 343a747f2f
1 changed files with 0 additions and 6 deletions

View File

@ -242,12 +242,6 @@ static inline uintptr_t _mi_align_up(uintptr_t sz, size_t alignment) {
}
}
// Is aligned?
static inline bool _mi_is_aligned(void* p, size_t alignment) {
mi_assert_internal(alignment != 0);
return (((uintptr_t)p % alignment) == 0);
}
// Divide upwards: `s <= _mi_divide_up(s,d)*d < s+d`.
static inline uintptr_t _mi_divide_up(uintptr_t size, size_t divider) {
mi_assert_internal(divider != 0);