void SimpleString::deallocStringBuffer(char* str, const char* file, int line) { getStringAllocator()->free_memory(str, file, line); }
void SimpleString::deallocStringBuffer(char* str) { getStringAllocator()->free_memory(str, __FILE__, __LINE__); }
/* Avoid using the memory leak detector INSIDE SimpleString as its used inside the detector */ char* SimpleString::allocStringBuffer(size_t _size, const char* file, int line) { return getStringAllocator()->alloc_memory(_size, file, line); }
/* Avoid using the memory leak detector INSIDE SimpleString as its used inside the detector */ char* SimpleString::allocStringBuffer(size_t _size) { return getStringAllocator()->alloc_memory(_size, __FILE__, __LINE__); }