MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / allocateTempString

Function allocateTempString

include/daScript/simulate/simulate.h:404–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402 }
403
404 __forceinline char * allocateTempString ( const char * text, uint64_t length, const LineInfo * at ) {
405 return allocateString(text, length, at, /*temp*/true);
406 }
407
408 __forceinline bool freeString ( char * ptr, uint64_t length, const LineInfo * at, bool tempString = false ) {
409 uint64_t size = length + 1;

Callers

nothing calls this directly

Calls 1

allocateStringFunction · 0.85

Tested by

no test coverage detected