18    #define ITASCA_MEMORY_CHECKING 
   25        using MemoryCleanupFunction = void(*)();
 
   30        BASE_EXPORT void * imalloc(
size_t s,
const char *file,uint32 line);
 
   34        BASE_EXPORT void   addCleanupFunction(MemoryCleanupFunction func);
 
   38#ifdef ITASCA_MEMORY_CHECKING 
   42    inline void* 
operator new(
size_t s, 
const char* file, 
unsigned line) {
 
   43        return itasca::memory::imalloc(s, file, line);
 
   45    inline void* 
operator new[](
size_t s, 
const char* file, 
unsigned line) {
 
   46        return itasca::memory::imalloc(s, file, line);
 
   48    void *
operator new(
size_t s);
 
   49    #define NEW new(__FILE__,__LINE__) 
   50    #define NEWN(x) new(x,__LINE__) 
Base type definitions for the engine.
#define BASE_EXPORT
Definition basedef.h:25
namespace Itasca
Definition basememory.cpp:14