| 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(). |
nothing calls this directly
no test coverage detected