MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / stref_withend

Function stref_withend

StereoKitC/libraries/stref.cpp:229–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227///////////////////////////////////////////
228
229const char *stref_withend(stref_t &aRef) {
230 assert(aRef.temp == false);
231
232 aRef.temp_end = aRef.start[aRef.length];
233 aRef.temp = true;
234 ((char*)aRef.start)[aRef.length] = '\0';
235
236 return aRef.start;
237}
238
239///////////////////////////////////////////
240

Callers 1

string_makeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected