| 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); |