heap_block_check.c 340 B

1234567891011
  1. #include "private.h"
  2. /*--------------------------------------------------------- */
  3. bool_t
  4. lub_heap_block_check(lub_heap_block_t *this)
  5. {
  6. lub_heap_tag_t *tail = lub_heap_block__get_tail(this);
  7. return (tail->words == this->alloc.tag.words) ? BOOL_TRUE : BOOL_FALSE;
  8. }
  9. /*--------------------------------------------------------- */