MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / StringsBuffer_SetLengthBits

Function StringsBuffer_SetLengthBits

src/String.c:831–834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831void StringsBuffer_SetLengthBits(struct StringsBuffer* buffer, int bits) {
832 buffer->_lenShift = bits;
833 buffer->_lenMask = (1 << bits) - 1;
834}
835
836void StringsBuffer_Clear(struct StringsBuffer* buffer) {
837 /* Never initialised to begin with */

Callers 4

Options_LoadFunction · 0.85
Music_RunLoopFunction · 0.85
Session_LoadFunction · 0.85
StringsBuffer_InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected