heap_block__get_tail.c 303 B

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