[serialize] Add reset()

pull/1151/head
Behdad Esfahbod 6 years ago
parent e58b190292
commit 6803ed8674
  1. 4
      src/hb-machinery.hh

@ -437,7 +437,11 @@ struct hb_serialize_context_t
{
this->start = (char *) start_;
this->end = this->start + size;
reset ();
}
inline void reset (void)
{
this->ran_out_of_room = false;
this->head = this->start;
this->debug_depth = 0;

Loading…
Cancel
Save