mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[serialize] Add reset()
This commit is contained in:
parent
e58b190292
commit
6803ed8674
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue