#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include "Bits.h"
#include "MeMemory.h"
#include "Trace.h"
#include "MeAssert.h"
Variables | |
| unsigned | MeMemoryDoTraceMalloc = 1 |
| Malloc modules specific trace flag. More... | |
| unsigned | MeMemoryDoStatsMalloc = 1 |
| Malloc modules specific statistics flag. More... | |
| struct MeMemoryOptions | MeMemoryOptionsMalloc |
| The options for the Malloc memory manager. | |
| struct MeMemoryStats | MeMemoryStatsMalloc |
| The statistics for the Malloc memory manager. | |
| struct MeMemoryAPI | MeMemoryAPIMalloc |
Table of function pointers to entry points of the Malloc memory manager. More... | |
|
Initializer:
{
&MallocSetOptions,
&MallocGetOptions,
&MallocInit,
&MallocCreate,
&MallocResize,
&MallocIncRef,
&MallocDecRef,
&MallocDestroy,
&MallocGetStats,
&MallocTerm
}Malloc memory manager.
This (v)table provides the implementation of the MeMemoryAPI interface for the Malloc memory managed. You should typically assign it to the MeMemoryAPI global variable to select the Malloc memory manager.
|
Malloc modules specific statistics flag.
Set this to 0 to disable tracing of API calls in the Malloc memory manager, leaving it on globally with the MeMemoryDoStats variable.
|
Malloc modules specific trace flag.
Set this to 0 to disable tracing of API calls in the Malloc memory manager, leaving it on globally with the MeMemoryDoTrace variable.
Copyright MathEngine PLC 2000, all rights reserved.