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

Function freeTempString

include/daScript/simulate/simulate.h:419–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417 }
418
419 __forceinline void freeTempString ( char * ptr, const LineInfo * at ) {
420 if ( stringHeap->isIntern() ) return;
421 if ( stringDisposeQue ) freeString(stringDisposeQue,(uint64_t)strlen(stringDisposeQue),at, /*temp*/true);
422 stringDisposeQue = ptr;
423 }
424
425 __forceinline void * getVariable ( int index ) const {
426 if ( uint32_t(index)<uint32_t(totalVariables) ) {

Callers

nothing calls this directly

Calls 1

freeStringFunction · 0.85

Tested by

no test coverage detected