mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-27 19:08:58 +03:00
Header refactoring: Pull size helpers out of jemalloc module.
This commit is contained in:
parent
041e041e1f
commit
8261e581be
28 changed files with 636 additions and 590 deletions
|
|
@ -244,7 +244,7 @@ zone_good_size(malloc_zone_t *zone, size_t size) {
|
|||
if (size == 0) {
|
||||
size = 1;
|
||||
}
|
||||
return s2u(size);
|
||||
return sz_s2u(size);
|
||||
}
|
||||
|
||||
static kern_return_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue