MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Append

Method Append

Source/Utility/String.h:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 void Append( CConstString string )
215 {
216 #ifdef DAEDALUS_ENABLE_ASSERTS
217 DAEDALUS_ASSERT( Length() + string.Length() < MAX_LENGTH, "String '%s' is too long append, truncation will occur", string.c_str() );
218 #endif
219 strncat( mpString, string, MAX_LENGTH );
220 mpString[ MAX_LENGTH ] = '\0';
221 }
222
223 private:
224 char mpString[ MAX_LENGTH + 1 ];

Callers

nothing calls this directly

Calls 3

LengthFunction · 0.85
LengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected