MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetFieldT

Function SetFieldT

Libs/flatbuffers/reflection.h:468–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466 const uint8_t *newbuf, size_t newlen);
467
468inline bool SetFieldT(Table *table, const reflection::Field &field,
469 const uint8_t *val) {
470 FLATBUFFERS_ASSERT(sizeof(uoffset_t) ==
471 GetTypeSize(field.type()->base_type()));
472 return table->SetPointer(field.offset(), val);
473}
474
475// ------------------------- COPYING -------------------------
476

Callers

nothing calls this directly

Calls 3

GetTypeSizeFunction · 0.85
SetPointerMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected