MathEngine
Home Page       Structures       File List       Functions and Macros      

mallocMeMemory.h File Reference

Redefines 'malloc' in terms of the MathEngine memory manager wrapper API. More...

#include "MeMemory.h"

Defines

#define malloc(size)    ((*MeMemoryAPI.create)(size))
 malloc transformed to a memory manager API call.

#define realloc(block,size)    ((*MeMemoryAPI.realloc)(block,size))
 realloc transformed to a memory manager API call.

#define free(block)    ((*MeMemoryAPI.destroy)(block))
 free transformed to a memory manager API call.

#define mallocMEMEMORYWRAP   1
 You can test this to see to check whether 'malloc' has been wrapped by MeMemory, via this header.


Variables

struct MeMemoryAPI MeMemoryAPI
 The table of memory manager entry points. More...


Detailed Description

Redefines 'malloc' in terms of the MathEngine memory manager wrapper API.


Variable Documentation

struct MeMemoryAPI MeMemoryAPI

The table of memory manager entry points.

This table is usually initialised using one of the memory manager specific function tables, for example MeMemoryAPIArrays or MeMemoryAPIMalloc.


MathEngine Utilities: Memory Manager API - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:56 2000

Copyright MathEngine PLC 2000, all rights reserved.