MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Append

Method Append

Externals/Assimp-3.1.1/include/types.h:329–340  ·  view source on GitHub ↗

Append a string to the string */

Source from the content-addressed store, hash-verified

327
328 /** Append a string to the string */
329 void Append (const char* app) {
330 const size_t len = ::strlen(app);
331 if (!len) {
332 return;
333 }
334 if (length + len >= MAXLEN) {
335 return;
336 }
337
338 memcpy(&data[length],app,len+1);
339 length += len;
340 }
341
342 /** Clear the string - reset its length to zero */
343 void Clear () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected