commit | 7e15dab94d3f008b0a6c296ad7afec9ed47ff1ac | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Wed Feb 29 12:56:37 2012 -0800 |
committer | Jason Evans <je@fb.com> | Wed Feb 29 12:56:37 2012 -0800 |
tree | 3d1f5fe55bf7e48a26c645f2dd141d27b89703d2 | |
parent | 4bb09830133ffa8b27a95bc3727558007722c152 [diff] |
Add nallocm(). Add nallocm(), which computes the real allocation size that would result from the corresponding allocm() call. nallocm() is a functional superset of OS X's malloc_good_size(), in that it takes alignment constraints into account.