objidx_t objidx;
};
- hb_bytes_t bytes;
+ char *head;
+ unsigned length;
hb_vector_t<link_t> links;
};
this->current.resize (0);
this->packed.resize (0);
- this->packed.push ()->bytes.arrayZ = this->end;
+ this->packed.push ()->head = this->end;
this->packed_map.reset ();
}
void discard_stale_objects ()
{
while (packed.length > 1 &&
- packed.tail ().bytes.arrayZ < tail)
+ packed.tail ().head < tail)
packed.pop ();
- assert (packed.tail ().bytes.arrayZ == tail);
+ assert (packed.tail ().head == tail);
}
unsigned int length () const { return this->head - current.tail ().head; }