| PathEngine home | previous: | next: |
See 'SDKRoot/instrumentation/MemoryTracking_OneObject.h' for an examples of custom memory allocation and deallocation.
This provides code for the memory tracking that is compiled in to the standard release build.
To customise memory allocation and deallocation
simply add an object that overrides the global new and delete in the same way as in this example.
You will need to remove the memory tracking allocation, in this case,
otherwise the compiler will complain about redefinition of these global operators (see
Customisation of memory allocation is currently only supported when linking the run-time library as a dll, on platforms that support dll linkage.
| Documentation for PathEngine release 5.29 - Copyright © 2002-2012 PathEngine | next: |