the number of bytes to offset an address to align it
| 281 | |
| 282 | // the number of bytes to offset an address to align it |
| 283 | static size_t align_offset(void *p) |
| 284 | { |
| 285 | return (((size_t)p & spp_chunk_align_mask) == 0) ? 0 : |
| 286 | ((SPP_MALLOC_ALIGNMENT - ((size_t)p & spp_chunk_align_mask)) & spp_chunk_align_mask); |
| 287 | } |
| 288 | |
| 289 | |
| 290 | #ifndef SPP_FOOTERS |
no outgoing calls
no test coverage detected