Itasca C++ Interface
|
Comment point for memory allocation in all modules. More...
Go to the source code of this file.
Namespaces | |
itasca | |
namespace Itasca | |
Typedefs | |
typedef void(* | itasca::memory::MemoryCleanupFunction) () |
Functions | |
void | itasca::memory::initialize () |
void | itasca::memory::shutdown () |
BASE_EXPORT bool | itasca::memory::heapCheck (void *memptr=nullptr) |
unsigned long long | itasca::memory::getMemory () |
MemoryCleanupFunction | itasca::memory::addCleanupFunction (MemoryCleanupFunction func) |
BASE_EXPORT void * | itasca::memory::imalloc (size_t s, const char *file, unsigned len) |
void * | itasca::memory::imalloc (size_t s) |
void | itasca::memory::ifree (void *v) |
void * | itasca::memory::irealloc (void *v, size_t s) |
Comment point for memory allocation in all modules.
See documentation in MEMORY.CPP for a discussion of what is done in debug mode. Exceptions thrown by these routines are all derived from std::runtime_error.