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

Function StartVectorOfStructs

Libs/flatbuffers/flatbuffers.h:2314–2317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2312 // Allocates space for a vector of structures.
2313 // Must be completed with EndVectorOfStructs().
2314 template<typename T> T *StartVectorOfStructs(size_t vector_size) {
2315 StartVector(vector_size * sizeof(T) / AlignOf<T>(), AlignOf<T>());
2316 return reinterpret_cast<T *>(buf_.make_space(vector_size * sizeof(T)));
2317 }
2318
2319 // End the vector of structues in the flatbuffers.
2320 // Vector should have previously be started with StartVectorOfStructs().

Callers

nothing calls this directly

Calls 1

StartVectorFunction · 0.70

Tested by

no test coverage detected