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

Function ForceStringAlignment

Libs/flatbuffers/flatbuffers.h:1770–1773  ·  view source on GitHub ↗

Similar to ForceVectorAlignment but for String fields.

Source from the content-addressed store, hash-verified

1768
1769 // Similar to ForceVectorAlignment but for String fields.
1770 void ForceStringAlignment(size_t len, size_t alignment) {
1771 FLATBUFFERS_ASSERT(VerifyAlignmentRequirements(alignment));
1772 PreAlign((len + 1) * sizeof(char), alignment);
1773 }
1774
1775 /// @endcond
1776

Callers

nothing calls this directly

Calls 2

PreAlignFunction · 0.85

Tested by

no test coverage detected