MCPcopy Create free account
hub / github.com/HumbleNet/HumbleNet / TrackField

Function TrackField

3rdparty/flatbuffers/include/flatbuffers/flatbuffers.h:678–681  ·  view source on GitHub ↗

When writing fields, we track where they are, so we can create correct vtables later.

Source from the content-addressed store, hash-verified

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) {

Callers 3

AddElementFunction · 0.85
AddStructFunction · 0.85
AddStructOffsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected