Logo Search packages:      
Sourcecode: icu version File versions

void LEInsertionList::reset ( void   ) 

Empty the insertion list and free all associated storage.

For internal use only.

Definition at line 36 of file LEInsertionList.cpp.

References growAmount, head, NULL, and tail.

Referenced by LEGlyphStorage::applyInsertions(), and ~LEInsertionList().

{
    while (head != NULL) {
        InsertionRecord *record = head;

        head = head->next;
        LE_DELETE_ARRAY(record);
    }

    tail = (InsertionRecord *) &head;
    growAmount = 0;
}


Generated by  Doxygen 1.6.0   Back to index