When writing fields, we track where they are, so we can create correct vtables later.
| 676 | // When writing fields, we track where they are, so we can create correct |
| 677 | // vtables later. |
| 678 | void TrackField(voffset_t field, uoffset_t off) { |
| 679 | FieldLoc fl = { off, field }; |
| 680 | offsetbuf_.push_back(fl); |
| 681 | } |
| 682 | |
| 683 | // Like PushElement, but additionally tracks the field this represents. |
| 684 | template<typename T> void AddElement(voffset_t field, T e, T def) { |
no outgoing calls
no test coverage detected