heap_block__get_tail.c 308 B

12345678910
  1. #include "private.h"
  2. /*--------------------------------------------------------- */
  3. lub_heap_tag_t *
  4. lub_heap_block__get_tail(lub_heap_block_t *this)
  5. {
  6. lub_heap_tag_t *ptr = &this->alloc.tag;
  7. return (ptr + this->alloc.tag.words - 1);
  8. }
  9. /*--------------------------------------------------------- */