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

Function free

include/daScript/simulate/simulate.h:385–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 }
384
385 __forceinline void free ( char * ptr, uint64_t size, const LineInfo * at = nullptr ) {
386 if ( instrumentAllocations ) onFree(ptr, at ? *at : LineInfo());
387 heap->impl_free(ptr, size);
388 }
389
390 __forceinline char * allocateString ( const char * text, uint64_t length, const LineInfo * at, bool tempString = false ) {
391 auto astr = stringHeap->impl_allocateString(this, text, length, at);

Callers

nothing calls this directly

Calls 2

impl_freeMethod · 0.80
LineInfoFunction · 0.70

Tested by

no test coverage detected